Earlier quoted context omitted.
I just completed it, and can say with certainty that it is solvable by only taking into consideration two constraints at any given time, with the exception of 3 at just one point early on (and they were the easier constraints in the puzzle). That being said, the nature of regex means you kind of need to jump around as far as which constraints you combine.
I don't doubt that, and I don't doubt it's a good puzzle, especially if you're already familiar with the format. But since this is my first introduction to this kind of puzzle, I need some anchor points at the beginning so I feel like I have something to work off of. I'm not even asking for a whole row, just an easier set of known chars at the start of the round so I have a hint at which of the 39 constraints I shoul…
RegEx Crossword
111–120 of 160 posts
Re: RegEx Crossword
#112Earlier quoted context omitted.
Look at the original MIT Mystery Hunt page (and solution). It was part of a puzzle hunt. (I was one of the people who successfully solved it on my team during that very event back in 2013...) See this comment for the link to the original, including the author's name and the puzzle in context with its official solution: https://news.ycombinator.com/item?id=26439598 (I wish that other comment would get upvoted to the t…
Hah! I was beginning to suspect there existed some pattern or answer in the result and was looking for an answer. The better part of 2 decades of mystery hunt has conditioned me. I see a four-letter snack in there that jumps out as a possible solution. Should we call hq?
Re: RegEx Crossword
#113Re: RegEx Crossword
#114Huh, well, this explains why my 8-year old repo is suddenly getting a bunch of comments and PRs...
Re: RegEx Crossword
#115Earlier quoted context omitted.
Agreed. Some of them can be simplified quite a bit, which leads to a lot of clutter. For instance, (XHH|[^XH])* is equivalent to just .* EDIT: It looks like I read the regex wrong. I guess I need to do the puzzle after all!
I found other patterns that I thought were unsimplified, but (spoiler alert) in the end it turned out that all of the seemingly-unnecessary details were important for the solution! E.g. [^C]*[^R]* LOOKS unsimplified, but it actually means that if the string contains an R, the preceding characters CANNOT be C.
Doesn't it really just mean a string can't contain a C followed by an R?
Re: RegEx Crossword
#116Small feature request for this implementation: Highlight/bold the three impacted regex when selecting a given hexagon, trying to trace it manually by eye is a bit of a pain. (I guess I could PR on github when I get some time later today)
https://github.com/Jimbly/regex-crossword/pull/10
Re: RegEx Crossword
#117Earlier quoted context omitted.
Spent a similar amount of time... Ended up with a "solution" that breaks 1 constraint. Must have erred somewhere, but backtracking is only leading to other 1-broken constraint outcomes. Sigh.
Official solution from the original author: https://web.mit.edu/puzzle/www/2013/coinheist.com/rubik/a_re...
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
#118Really neat puzzle though!
Re: RegEx Crossword
#119Huh, well, this explains why my 8-year old repo is suddenly getting a bunch of comments and PRs...
Re: RegEx Crossword
#120This puzzle was originally written by Dan Gulotta for the 2013 MIT Mystery Hunt. https://web.mit.edu/puzzle/www/2013/coinheist.com/rubik/a_re...