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
The logic is supposed to replace # with \#, and then wrap with #<pattern>#u (i.e. #-delimited pattern with the unicode modifier). This behavior is deliberate, but the bug is that it seems to be still interpreting the # from your pattern as a delimiter, rather than an escaped literal.
Hello,
I have a schema.json like below, and when I try to validate my json (also below) I'm receiving the Exception from the title.
schema.json:
json:
"ref"
Investigating the StringConstraint.php, on line 42 it has this code:
which is replacing
#
by\\#
and concatenating everything with#
-prefix and#u
-suffix.Am I going something wrong or is it a bug?
The text was updated successfully, but these errors were encountered: