Re:RegEx Crossword
by jcranmer on Friday March 12, 2021 @05:44PM
(#26441875)
The regex crossword is working on the basis of matching the entire input string (of " "), not on finding a substring that matches the regex. You can prefer to think of it as having all regexes have an implicit ^ and $, i.e., you're attempting to find a substring that matches "^RDM*$".
[ Parent
| on HN ]
Re:RegEx Crossword
by dec0dedab0de on Friday March 12, 2021 @05:54PM
(#26441958)
You can prefer to think of it as having all regexes have an implicit ^ and $
That is literally what is happening: https://github.com/Jimbly/regex-crossword/blob/master/crossw...
Not anymore, hah: https://github.com/Jimbly/regex-crossword/commit/0e603975f21...
Re:RegEx Crossword
by dec0dedab0de on Saturday March 13, 2021 @10:36AM
(#26447232)
Haha! Fantastic commit message
Glad someone appreciated it :D