string.format
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -12,3 +12,3 @@ /* jslint node: true */ | ||
var replaced = string; | ||
replaced = replaced.replace(/\·\{(.*)\}\·/gmi,function(match,capture,index,all){ | ||
replaced = replaced.replace(/\·\{(.*?)\}\·/gmi,function(match,capture,index,all){ | ||
var replace; | ||
@@ -15,0 +15,0 @@ try { |
{ | ||
"name": "string.format", | ||
"description": "String prototype method -> 'Hello {name}!'.format({name:'Homer'});", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Bifuer", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6362