diff --git a/README.md b/README.md index e774838..2aadb12 100644 --- a/README.md +++ b/README.md @@ -738,7 +738,7 @@ For regexes that rely on or have the potential to trigger heavy backtracking, yo The following edge cases rely on modern JavaScript features: - To ensure atomization, `regex` uses nested character classes (which require flag v) when interpolating more than one token at a time *inside character classes*. A descriptive error is thrown when this isn't supported, which you can avoid by not interpolating multi-token patterns or strings into character classes. -- Using an interpolated `RegExp` instance with a different value for flag i than its outer regex relies on [regex modifiers](https://github.com/tc39/proposal-regexp-modifiers), a bleeding-edge feature available in Chrome/Edge 125 and Opera 111. A descriptive error is thrown in environments without support, which you can avoid by aligning the use of flag i on inner and outer regexes. Local-only application of other flags doesn't rely on this feature. +- Using an interpolated `RegExp` instance with a different value for flag i than its outer regex relies on [pattern modifiers](https://github.com/tc39/proposal-regexp-modifiers), a bleeding-edge feature available in Chrome/Edge 125 and Opera 111. A descriptive error is thrown in environments without support, which you can avoid by aligning the use of flag i on inner and outer regexes. Local-only application of other flags doesn't rely on this feature. ## 🙋 FAQ @@ -787,5 +787,5 @@ The alternative syntax isn't used because it has several disadvantages: `regex` was partly inspired by [XRegExp](https://github.com/slevithan/xregexp)'s `.tag` and [regexp-make-js](https://github.com/mikesamuel/regexp-make-js). -Crafted by Steven Levithan with ❤︎ for regular expressions and their enthusiasts.
+Crafted by Steven Levithan with love for regular expressions and their enthusiasts.
MIT License. diff --git a/spec/atomic-groups.spec.js b/spec/atomic.spec.js similarity index 100% rename from spec/atomic-groups.spec.js rename to spec/atomic.spec.js diff --git a/spec/index.html b/spec/index.html index 2e8c55f..7514a8f 100644 --- a/spec/index.html +++ b/spec/index.html @@ -30,7 +30,7 @@ - + diff --git a/src/atomic-groups.js b/src/atomic.js similarity index 100% rename from src/atomic-groups.js rename to src/atomic.js diff --git a/src/regex.js b/src/regex.js index 033a47e..c52228c 100644 --- a/src/regex.js +++ b/src/regex.js @@ -3,7 +3,7 @@ import {CharClassContext, RegexContext, adjustNumberedBackrefs, capturingDelim, import {Pattern, pattern} from './pattern.js'; import {flagNPreprocessor} from './flag-n.js'; import {flagXPreprocessor, cleanPlugin} from './flag-x.js'; -import {atomicPlugin} from './atomic-groups.js'; +import {atomicPlugin} from './atomic.js'; import {subroutinesPlugin} from './subroutines.js'; import {backcompatPlugin} from './backcompat.js';