Download How does the regular expression " (aa)+\1" match "aaaaaa"? book pdf free download link or read online here in PDF. Read online How does the regular expression " (aa)+\1" match "aaaaaa"? book pdf free download link book now. All books are in clear copy here, and all files are secure so don't worry about it. This site is like a library, you could find million book here by using search box in the header.
The + quantifier means "1 or more". The \1 refers to the captured group, which is the same thing the quantifier is referring to. So effectively, it's saying "group aa, 1 or more times, and then one more time". Which is the same as "2 or more times". So the regex might be clearer as this: /(aa){2,}/ Since aaaaaa is three sets of the aa group, the regex matches the string.
Read : How does the regular expression " (aa)+\1" match "aaaaaa"? pdf book online Select one of servers for direct link: |
---|