In case there is someone out there who never saw MIT's entry into the RegEx competition: http://rampion.github.io/RegHex/ This is the web incarnation of that hexagon puzzle.
Regex Crossword
81–90 of 115 posts
Re: Regex Crossword
#82Earlier quoted context omitted.
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.
so in your first example, "AB" was in the capture group and the \1 repeats it?
(.*)\1+
Would also match "ABABAB", for example.Re: Regex Crossword
#83Earlier quoted context omitted.
This is exactly why I use a different browser for Facebook than any other web browsing. As far as they are concerned, the only site I ever visit is Facebook. Same with Google properties. I only use Chrome to visit Google properties.
It's much easier to just block Facebook stuff with browser addons, and you can easily nuke every other tracker as well while you're at it.
Re: Regex Crossword
#84Re: Regex Crossword
#85Nice, but the answers being phrases ruins it for me, because you start seeing the answers without needed to check the regular expressions. Really nicely designed though. Clean UI. Wouldn't mind if it was enlarged to use more of the screen real estate (tiny fonts are hard to read). I had fun with this.
I thought about this too- the phrases- but, isn't that how normal crossword puzzles are? You can gather clues from the context of surrounding words when doing one of those puzzles.
Re: Regex Crossword
#86Nice, but the answers being phrases ruins it for me, because you start seeing the answers without needed to check the regular expressions. Really nicely designed though. Clean UI. Wouldn't mind if it was enlarged to use more of the screen real estate (tiny fonts are hard to read). I had fun with this.
All the hitchhikers ones are pretty obvious though.
Re: Regex Crossword
#87I really dislike that patterns using * wildcard required using the letters beforehand. The game requires A* to match a row with zero or more A's, but this is absolutely incorrect, as A* will gladly match ANY string, like QQQQ.
Re: Regex Crossword
#88Earlier quoted context omitted.
I really wish Facebook's Anonymous Login would make it out of beta so this wouldn't be an issue: https://developers.facebook.com/products/anonymous-login/
still facebook will know where you have been. "Anonymous" and "Facebook" do not really fit together ;)
But Facebook does have a good security track record. This random website does not. I don't trust them with any more information than needed. In this case, that is only a single anonymized token.
Re: Regex Crossword
#89Earlier quoted context omitted.
I thought about this too- the phrases- but, isn't that how normal crossword puzzles are? You can gather clues from the context of surrounding words when doing one of those puzzles.
Not really, because rather than using an entire coherent phrase that goes from the top to the bottom of the puzzle, crossword puzzles use discrete and often unrelated words throughout.
In this case, the "suddenly solving the whole thing given only 40% or 50% of the letters" effect can be kind of cool, or annoying if you were enjoying the logic puzzle aspect. In the original MIT Mystery Hunt hexagonal regular expression crossword, most of the grid did not spell anything recognizable, so it was clearly a logic puzzle through-and-through. I guess whether people appreciate that depends on whether they were expecting a pure logic puzzle or a combined logic+word puzzle.