Tweak to allow matching delimiter within the string
parent
c44be998ab
commit
f6c446bdd7
|
@ -257,8 +257,8 @@ class ClassMapGenerator
|
||||||
(?:
|
(?:
|
||||||
# non-word or non-space char, then anything goes for the rest of the line
|
# non-word or non-space char, then anything goes for the rest of the line
|
||||||
[^\s\w][^\r\n]+
|
[^\s\w][^\r\n]+
|
||||||
# white-space (possessive match) not followed by the delimiter, then anything goes for the rest of the line
|
# white-space (possessive match) not followed by the end delimiter, then anything goes for the rest of the line
|
||||||
| \s*+(?!\\2)[^\r\n]+
|
| \s*+(?!\\2 \s*[;,.)])[^\r\n]+
|
||||||
# white-space but no new lines
|
# white-space but no new lines
|
||||||
| [\t\f\v ]+
|
| [\t\f\v ]+
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue