RegEx Crossword
141–150 of 160 posts
Re: RegEx Crossword
#142So many of these start or end with an `x*`, `(x|y)`, `[xy]` or `[^xy]` that I only see two characters I can fill in before I need to start looking at multiple constraints for the same cell and either doing combinatorics or guess-and-check. This might be fine for hard mode, but as someone who considers themselves a regexpert it's not very approachable as a first puzzle IMO. A more gradual introduction to the format wo…
I had the same experience when I tried it yesterday. There doesn't seem to be any good "starting point", like there is on a traditional crossword puzzle or sudoku.
I think from a game design perspective it is really interesting though: Like sudoku, this kind of puzzle gives you a wide range of options to archive different player experiences and difficulty levels: You can make easy levels by mostly using constant-width regexes and non-conditional letters and you can slowly increase the difficulty level by making regexes less constrained and more ambiguous. A designer could even craft specific "paths" through the puzzle by combining easy and hard regexes.
Finally, a designer could gradually introduce more complex regex features (or other patterns, like multiple constraints) over successive leves.
Re: RegEx Crossword
#143See also https://regexcrossword.com/ , which has been discussed a lot on HN.
Re: RegEx Crossword
#144Earlier quoted context omitted.
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
#14599pct of the challenge is counting the positions for things. Would be nice if they had a couple hand mande puzzles instead of random ones.
Re: RegEx Crossword
#146Earlier quoted context omitted.
Official solution from the original author: https://web.mit.edu/puzzle/www/2013/coinheist.com/rubik/a_re...
Oooh, I was stuck because I was insisting on `. (1)(2)(3)(4)\4\3\2\1. ` having the middle eight characters mirror each other, which results in a clear contradiction with a few of the crosses. Thanks for posting the answers. I think I'm done working on it for now, but that one was really bothering me.
Re: RegEx Crossword
#147Earlier quoted context omitted.
Or if the string contains a C, a subsequent character can't be an R? Doesn't it really just mean a string can't contain a C followed by an R?
Yes, those are three ways of saying the same thing. :)
Re: RegEx Crossword
#148Earlier quoted context omitted.
Oooh, I was stuck because I was insisting on `. (1)(2)(3)(4)\4\3\2\1. ` having the middle eight characters mirror each other, which results in a clear contradiction with a few of the crosses. Thanks for posting the answers. I think I'm done working on it for now, but that one was really bothering me.
This is how I interpret it, too. What am I missing?
Re: RegEx Crossword
#149Re: RegEx Crossword
#150Personally I'd even pay good money for a series of these style of puzzles.