News for hackers. Stuff that matters.
Re:Show HN: RegEx Face Off – Beat your friends with regular ... by impostervt on Saturday December 31, 2016 @08:46AM (#13290979)
This is a little side project I made to learn about Web sockets. Each question consists of a "match" pattern and a "skip" pattern, and then looks up words on wordsapi.com to match those patterns when the question is generated.

It was hard thinking up patterns, so if you have ideas, please let me know.

Re:Show HN: RegEx Face Off – Beat your friends with regular ... by wildmusings on Saturday December 31, 2016 @01:48PM (#13292453)
Cool concept, but I think it'd be infinitely better if the challenges were more realistic/interesting. E.g. matching dates in a particular format, but not another similar format.
Re:Show HN: RegEx Face Off – Beat your friends with regular ... by chii on Saturday December 31, 2016 @09:36AM (#13291176)
i think you should start off with patterns that have less characters (3-5 max), but mix digits and symbols in - at least, in the early game. I found the patterns to be too complex to quickly come up with a regex.

Alternatively, use a very limited alphabet (like 'a', 'b', 'c'), and have longer patterns like 'aabbaaabbbc'.

Re:Show HN: RegEx Face Off – Beat your friends with regular ... by natch on Saturday December 31, 2016 @02:47PM (#13292786)
pattern idea: provide a UI for users to suggest sets of data to match.