You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trouble with ignoring specific cases using RegEx.
I tested the two simple rules below.
Both of them are expected to convert AB to XX except AB is a part of ABCD.
(I actuary want to ignore something like /AB(CD|EF|GH)/ but it is just demo rules to simplify the problem.)
But the first rule below also converts ABCD to XXCD.
I have trouble with ignoring specific cases using RegEx.
I tested the two simple rules below.
Both of them are expected to convert
AB
toXX
exceptAB
is a part ofABCD
.(I actuary want to ignore something like
/AB(CD|EF|GH)/
but it is just demo rules to simplify the problem.)But the first rule below also converts
ABCD
toXXCD
.While the equivalent rule below works correctly.
The problem may occur only if one uses the RegEx in the
allows
field.My environment is as follows.
macOS 12.2.1
node v17.8.0
npm 8.5.5
@proofdict/textlint-rule-proofdict@3.1.2
The text was updated successfully, but these errors were encountered: