the implementation of regular expressions in javascript. #324
Unanswered
letochagone
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to have the texts explaining the implementation of regular expressions in javascript.
So in the following example:
"abc".match(/x*/g)
the result is an array : [ "", "", "", "" ],
4 empty strings.
The explanation is, perhaps, that Javascript finds empty strings in the following locations: (I note "-" for an empty string)
`
`
In short, what I'm looking for is where to find the link that explains this result, who decided on this result.
N.-B: I asked on stackoverflow but I didn't get the answer I was looking for.
[https://stackoverflow.com/questions/77047894/i-dont-understand-how-an-elementary-rational-expression-works]
Beta Was this translation helpful? Give feedback.
All reactions