News for hackers. Stuff that matters.
Re:RegEx Crossword by freeopinion on Friday March 12, 2021 @05:09PM (#26441579)
I don't know what any of your three statements actually mean.

R*D*M* does not specify anything that has to be found in the string. Nor does any pattern of ()* or []* no matter what you put between the parens or brackets.

In all of those cases, any possible string matches the regex starting at the beginning of the string and ending at the end of the string.

Your clarification doesn't clarify anything for me.

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*$".
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...

Re:RegEx Crossword by ladberg on Saturday March 13, 2021 @02:24AM (#26444723)
Re:RegEx Crossword by dec0dedab0de on Saturday March 13, 2021 @10:36AM (#26447232)
Haha! Fantastic commit message
Re:RegEx Crossword by Jimbly on Saturday March 13, 2021 @02:27PM (#26449201)
Glad someone appreciated it :D
Re:RegEx Crossword by schoen on Friday March 12, 2021 @07:17PM (#26442580)
Similar to "egrep -x".