[{"data":1,"prerenderedAt":365},["ShallowReactive",2],{"project-13290751":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":47,"post_text":49,"what":50,"said":90,"maker_in_thread":225,"shape":237,"grid":241,"attempts":322,"same_week":327,"maker_shows":34,"maker_hidden":357,"reader_version":358,"card":359},"13290751","RegEx Face Off","Beat your friends with regular expressions","title","Show HN: RegEx Face Off – Beat your friends with regular expressions","https:\u002F\u002Fwww.regexfaceoff.com\u002F","regexfaceoff.com","impostervt",1483187070,2016,70,38,547,2264,25,"notable","games","regex puzzle game","web_app",[24,25,26,27,28],"regex game","regular expressions","regex golf","multiplayer game","websockets","mixed",-0.386,{"positive":32,"neutral":33,"mixed":34,"critical":35},1,7,6,12,26,{"execution":38,"design":41,"idea":43,"privacy":45,"docs":46},{"positive":39,"critical":40},0,4,{"positive":39,"critical":42},2,{"positive":32,"critical":44},5,{"positive":39,"critical":32},{"positive":39,"critical":39},[32,39,48,39,32,39,44,39,32,39,48,32,48,39,48,39,39,32,32,48,48,48,32,32,39,39,48,32,39,48,32,48,48,39,48,32,48,32],3,null,{"problem":51,"audience":49,"pricing":49,"motivation":64,"time_to_build":49,"stack":69,"openness":88,"stage":89,"team_size":88},{"value":52,"source":53,"evidence":54},"Practising regular expressions in a competitive game","inferred",[55,57,60],{"id":56},"post",{"id":58,"by":11,"text":59},"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…",{"id":61,"by":62,"text":63},"13291778","jodrellblank","You need to write a regex which matches the ones that say \"match\" by them and excludes the others. The column with the tick and cross are whether your regex puts this entry in…",{"value":65,"source":66,"evidence":67},"A side project to learn about Web sockets","maker",[68],{"id":58,"by":11,"text":59},[70,74,78],{"value":71,"source":66,"evidence":72},"WebSockets",[73],{"id":58,"by":11,"text":59},{"value":75,"source":66,"evidence":76},"wordsapi.com word lookups",[77],{"id":58,"by":11,"text":59},{"value":79,"source":53,"evidence":80},"JavaScript",[81,85],{"id":82,"by":83,"text":84},"13290898","netsec_burn","Sorry, this will be a negative review. This is easily the most frustrating game I've ever played. I can't test parenthesis because it tells me my time 'ran out' with 45 seconds…",{"id":86,"by":83,"text":87},"13291108","Still there actually, but in a different place. There's another XSS, if you just paste this in your solution: ``` |\u003Caudio style=\"width: 0px; height: 0px;\" controls…","unknown","launched",{"praise":91,"objections":111,"requests":174,"questions":211,"alternatives":220},[92],{"value":93,"source":94,"evidence":95},"Fun, great idea for regex practice","commenter",[96,100,104,108],{"id":97,"by":98,"text":99},"13290915","DvdGiessen","Really cool, enjoyed playing it for a while. Challenges you to practise your regex golf[1] skills. :) There seem to be some bugs with the timing mechanisms, probably some JS…",{"id":101,"by":102,"text":103},"13290949","linusthebear","Agreed, awesome idea, needs a few bug fixes. Perhaps a description of the game mechanics. Some patterns match inaccurately, and I am also experiencing running out of time with…",{"id":105,"by":106,"text":107},"13293439","readme","Game's fun but there's a problem when sometimes the time runs out prematurely. If it didn't do this I'd say 5 stars well done.",{"id":109,"by":83,"text":110},"13291056","Nice, thanks for being responsive! I agree it's a great concept, sorry if the critique came across as harsh.",[112,133,145,159,169],{"value":113,"source":94,"evidence":114},"Rounds time out prematurely (5 second timeouts)",[115,116,120,124,128,129],{"id":82,"by":83,"text":84},{"id":117,"by":118,"text":119},"13292047","ufmace","I got the 5 second timeouts too. Not sure about the viability of the whole game concept. I kinda like the other idea in this thread of giving both players a fixed amount of time,…",{"id":121,"by":122,"text":123},"13293124","ElijahLynn","Yeah, the \"time ran out\" prematurely bug killed it for me.",{"id":125,"by":126,"text":127},"13292760","natch","I know people have said this already, but just to update it, the site is still giving 5 second timeouts. Also when you are playing as anonymous against anonymous, when it says:…",{"id":105,"by":106,"text":107},{"id":130,"by":131,"text":132},"13291507","umbrai_nation","There's definitely a bug in the timing. I feel like it's related to the previous round. Whenever I finished a round early, the next round timed out early. Also, it should be…",{"value":134,"source":94,"evidence":135},"Shortest-regex wins; alternation of words (foo|bar) solves rounds trivially",[136,140,144],{"id":137,"by":138,"text":139},"13291502","logicallee","Spoiler warning: super-strategy below. Not a bad idea but since there's no penalty for long strings I can win pretty much instantly by treating it as a typing test and typing a…",{"id":141,"by":142,"text":143},"13291826","nothrabannosir","Nice idea! Unfortunately, here's how to solve pretty much any game in \u003C3sec: firstword|secondword|thirdword|... you can usually stop typing every word after ~3 chars (no other…",{"id":130,"by":131,"text":132},{"value":146,"source":94,"evidence":147},"Challenges are unrealistic and not practical regex use",[148,152,156],{"id":149,"by":150,"text":151},"13292422","marcoperaza","Is the game about regexes or finding letter patterns in words? The rounds I played aren't realistic or particularly interesting uses of regexes.",{"id":153,"by":154,"text":155},"13291183","drej","I'm a bit confused - I'm not sure I understand the practicality of this. I do like challenging regexps, but I did not find them here. I thought the point of code games is to…",{"id":157,"by":150,"text":158},"13292453","Cool concept, but I think it'd be infinitely better if the challenges were more realistic\u002Finteresting. E.g. matching dates in a particular format, but not another similar format.",{"value":160,"source":94,"evidence":161},"Match\u002Ftick UI and rules are confusing",[162,166],{"id":163,"by":164,"text":165},"13290966","StavrosK","I gave up after 2-3 games as well. Time kept running out in three seconds. The semantics are also murky, what do I need to match? The regex doesn't assume ^$, but then do I need…",{"id":167,"by":164,"text":168},"13291953","It looks like you just need to match anything in the line, not the whole line. Basically, re.search(your_regex, line) should not return None. The ticks are just bad UX, because…",{"value":170,"source":94,"evidence":171},"XSS vulnerabilities via player name",[172,173],{"id":82,"by":83,"text":84},{"id":86,"by":83,"text":87},[175,184,192,197,205],{"value":176,"source":94,"evidence":177},"Score by shortest regex with fixed time limit",[178,179,183],{"id":117,"by":118,"text":119},{"id":180,"by":181,"text":182},"13291139","pepijndevos","My strategy was ^[].*[^]$ where you first fill in all the first letters of the match words and then all the last characters of the skip group. Works fairly well. I'm not sure if…",{"id":130,"by":131,"text":132},{"value":185,"source":94,"evidence":186},"Document game rules and regex flavour",[187,191],{"id":188,"by":189,"text":190},"13291179","zzzcpan","Some explanation of what to do and what flavor of \"regex\" syntax is accepted would be good. I'm guessing it's a javascript syntax, but I don't really remember how different it is…",{"id":101,"by":102,"text":103},{"value":193,"source":94,"evidence":194},"More realistic data such as date formats",[195,196],{"id":157,"by":150,"text":158},{"id":149,"by":150,"text":151},{"value":198,"source":94,"evidence":199},"Show round results longer with a continue button",[200,201],{"id":125,"by":126,"text":127},{"id":202,"by":203,"text":204},"13290968","thealistra","the app works to fast and I as a user get confused. It should show who won, with what match at the end of the round for a longer period of time",{"value":206,"source":94,"evidence":207},"User-suggested pattern sets",[208],{"id":209,"by":126,"text":210},"13292786","pattern idea: provide a UI for users to suggest sets of data to match.",[212,216],{"value":213,"source":94,"evidence":214},"Is the flavour JavaScript or PCRE, and does it support lookarounds?",[215],{"id":188,"by":189,"text":190},{"value":217,"source":94,"evidence":218},"What exactly must a regex match or exclude?",[219],{"id":163,"by":164,"text":165},[221],{"value":222,"source":94,"evidence":223},"Regex Golf (xkcd-inspired regex golf challenges)",[224],{"id":97,"by":98,"text":99},{"comments":226,"answered":39,"key":227},8,[228,231,234],{"id":229,"text":230},"13290946","Totally valid, sorry about that. Looks like I'm not clearing some js timeouts.",{"id":232,"text":233},"13291038","The Rickroll should be fixed.",{"id":235,"text":236},"13291063","Np, glad someone's playing it. I was loling when I started a game and rickroll started playing.",{"commenters":238,"max_depth":40,"maker_replies":226,"first_comment_mins":239,"lifespan_hours":240},24,57,10,[242,244,246,248,250,252,253,255,257,259,262,264,265,268,271,272,275,278,279,281,284,286,288,289,290,293,295,297,298,301,304,305,306,307,311,315,318,320],[82,39,32,243,83,39],"project\u002Fcritical\u002Fexecution",[229,39,39,245,11,32],"maker\u002Fneutral\u002Fexecution",[163,39,48,247,164,39],"project\u002Fmixed\u002Fdesign",[61,39,39,249,62,39],"commenter\u002Fneutral\u002Fnone",[167,39,32,251,164,39],"project\u002Fcritical\u002Fdesign",[232,39,39,245,11,32],[109,39,44,254,83,39],"maker\u002Fpositive\u002Fidea",[235,39,39,256,11,32],"project\u002Fneutral\u002Fnone",[86,39,32,258,83,39],"project\u002Fcritical\u002Fprivacy",[260,39,39,261,11,32],"13291169","maker\u002Fneutral\u002Fprivacy",[117,39,48,263,118,39],"project\u002Fmixed\u002Fidea",[121,39,32,243,122,39],[266,32,48,256,267,39],"13290941","wwwigham",[269,32,39,270,11,32],"13290971","project\u002Fneutral\u002Fidea",[180,32,48,270,181,39],[273,32,39,274,11,32],"13291182","maker\u002Fneutral\u002Fnone",[276,32,39,249,277,39],"13291413","ygra",[130,42,32,243,131,39],[149,48,32,280,150,39],"project\u002Fcritical\u002Fidea",[282,40,48,270,283,39],"13291396","swalsh",[188,44,48,285,189,39],"project\u002Fneutral\u002Fdocs",[125,34,48,287,126,39],"project\u002Fmixed\u002Fexecution",[153,33,32,280,154,39],[137,226,32,280,138,39],[291,226,39,249,292,39],"13291634","SnaKeZ",[294,226,39,249,138,39],"13291688",[101,296,48,287,102,39],9,[141,240,32,280,142,39],[58,299,39,300,11,32],11,"maker\u002Fneutral\u002Fidea",[302,299,48,270,303,39],"13291176","chii",[157,299,32,280,150,39],[209,299,48,270,126,39],[105,35,48,287,106,39],[308,309,39,310,11,32],"13291069",13,"project\u002Fneutral\u002Fexecution",[312,313,48,256,314,39],"13292688",14,"bharatkhatri14",[316,317,32,243,292,39],"13290974",15,[97,319,48,287,98,39],16,[202,321,32,251,203,39],17,[323,326],{"id":324,"t":325,"points":48,"comments":39},"13210895",1482149237,{"id":4,"t":12,"points":14,"comments":15},[328,333,338,343,348,353],{"id":329,"name":330,"points":331,"category":332},"13309025","Patents Expiring Today",546,"learning_science",{"id":334,"name":335,"points":336,"category":337},"13318289","PDFlower",216,"productivity",{"id":339,"name":340,"points":341,"category":342},"13303346","Mastodon",172,"infrastructure",{"id":344,"name":345,"points":346,"category":347},"13308263","Castor",133,"web_saas",{"id":349,"name":350,"points":351,"category":352},"13310974","Zazu App",111,"dev_tools",{"id":354,"name":355,"points":356,"category":342},"13297192","automated-blinds",101,false,"v2",{"id":360,"name":5,"line":6,"ai":357,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":361,"top":18,"kw":362,"maker":11,"domain":10,"tier":19,"attempts":42,"strip":363,"url":9,"mix":364,"praise":93,"objection":113,"sub":21},13290751,-0.39,[24,25,26,27,28],"10301050103130300113331100310313303131",[32,33,34,35],1793990952506]