bump-regex
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -15,3 +15,4 @@ 'use strict'; | ||
key: 'version', | ||
type: 'patch' | ||
type: 'patch', | ||
case: false | ||
} | ||
@@ -23,3 +24,3 @@ | ||
'([<|\'|\"]?' + opts.key + '[>|\'|\"]?[ ]*[:=]?[ ]*[\'|\"]?[a-z]?)(\\d+\\.\\d+\\.\\d+)' + | ||
'(-[0-9A-Za-z\.-]+)?([\'|\"|<' + opts.key + '>]?)', 'i'); | ||
'(-[0-9A-Za-z\.-]+)?([\'|\"|<' + opts.key + '>]?)', + opts.case ? '' : 'i'); | ||
@@ -26,0 +27,0 @@ if (opts.global) { |
{ | ||
"name": "bump-regex", | ||
"description": "bump RegEx with semver", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"homepage": "https://github.com/stevelacy/bump-regex", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -55,2 +55,16 @@ # bump-regex | ||
### options.case | ||
Set case insensitive matching | ||
This option enables matching a specific Case Sensitive selector | ||
```xml | ||
<xml> | ||
<version>nope</version> | ||
<Version>1.2.3</Version> | ||
</xml> | ||
``` | ||
Type: `Boolean` | ||
Default: `false` | ||
### options.version | ||
@@ -57,0 +71,0 @@ Set a specific version to bump to. |
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
5051
38
113