My main problem with this is telling the difference between O and 0, the clue O's look more like 0 so I have to copy paste them. (Although I don't think I've had any numbers required for solutions yet).
Regex Crossword
71–80 of 115 posts
Re: Regex Crossword
#72Re: Regex Crossword
#73What does it mean when a reg ex ends with a `\1` (backslash 1) as in this example third beginner puzzle? (.)+\1 http://regexcrossword.com/challenges/beginner/puzzles/3
Re: Regex Crossword
#74http://regexcrossword.com/challenges/intermediate/puzzles/5 Anyone understand what (.)*DO\1 should match? edit: Okay, I was writting 0 instead of O that's why it wasn't working.
. -> any character (.) -> any character, grouped to reference it, since it's the first group it's referenced as \1 (.)* -> that, 0 or more times (.)* DO -> any character 0 or more times, followed by DO (.)* DO\1 -> any character 0 or more times, followed by DO, and the same character as in the beginning
Re: Regex Crossword
#75Fun! When I saw the title, I was expecting the opposite: a normal cross word with the usual "42 Across (4): It gets things done" style hints, but the answers were valid regex's. Someone make that too!
Re: Regex Crossword
#76http://regexcrossword.com/challenges/intermediate/puzzles/5 Anyone understand what (.)*DO\1 should match? edit: Okay, I was writting 0 instead of O that's why it wasn't working.
Anything 0 or more times backreferenced onto the end of the string "DO", is my guess. So, for example: DO DONUT DOG
Re: Regex Crossword
#77What does it mean when a reg ex ends with a `\1` (backslash 1) as in this example third beginner puzzle? (.)+\1 http://regexcrossword.com/challenges/beginner/puzzles/3
Look at the Help button (top right); that explains all their syntax.
Re: Regex Crossword
#78What does it mean when a reg ex ends with a `\1` (backslash 1) as in this example third beginner puzzle? (.)+\1 http://regexcrossword.com/challenges/beginner/puzzles/3
It's a backreference to the first capture group, which is denoted by the first set of parenthesis, e.x. (.*)+\1 would match "ABAB", or "ABCABC", etc. "\2" would match the second capture group, e.x. (.*)(.*)\2\1 would match "ABBA", or "AABBBBAA", etc.
Re: Regex Crossword
#79Re: Regex Crossword
#80How about you save my progress in a cookie? You might find this hard to believe, but I don't have a Facebook account.
Off topic, but god I just wish Facebook would disappear. It's ironic that such a popular company with such a huge valuation would produce an immediate and significant benefit to me if it just disappeared overnight.