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
Follow-up to #282, since I left it out there: ^abc$ should match abc but not abc\n. This is a useful test because both will match in Python, absent special handling such as js-regex.
The text was updated successfully, but these errors were encountered:
Python doesn't default to multiline matching, but for reasons I won't pretend to understand has the behaviour above. Python's equivalent of ECMAScript $ is \\Z, so js-regex can translate but IMO it's a good idea to have an upstream test for this.
The JSON-schema spec does not give any way to use multiline mode, so you'd need to include newlines (or whatever else) in your pattern.
Follow-up to #282, since I left it out there:
^abc$
should matchabc
but notabc\n
. This is a useful test because both will match in Python, absent special handling such asjs-regex
.The text was updated successfully, but these errors were encountered: