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
When I create the resource with for example field path with value "someText/someText" (with slash) and I want to get all resources which DON'T have slash by regex (apiUrl/resource?path__regex=/^((?!/).)*$/g ). I get a wrong result((( I get all resources also which don't match with regex. As I understand it's a BUG.
This BUG is in this line
When you match regexes you get wrong parts because in the example regex has 3 slash
This is console.log(parts). As you see we have wrong match(( [ '/^((?!\\/).)*$', '^((?!\\', ').)*$', index: 0, input: '/^((?!\\/).)*$/g', groups: undefined ]
The text was updated successfully, but these errors were encountered:
Dmytro15
changed the title
The regex doesn`t work as well
The regex doesn't work as well
Feb 2, 2021
When I create the resource with for example field path with value "someText/someText" (with slash) and I want to get all resources which DON'T have slash by regex (apiUrl/resource?path__regex=/^((?!/).)*$/g ). I get a wrong result((( I get all resources also which don't match with regex. As I understand it's a BUG.
This BUG is in this line
When you match regexes you get wrong parts because in the example regex has 3 slash
This is console.log(parts). As you see we have wrong match((
[ '/^((?!\\/).)*$', '^((?!\\', ').)*$', index: 0, input: '/^((?!\\/).)*$/g', groups: undefined ]
The text was updated successfully, but these errors were encountered: