[{"data":1,"prerenderedAt":598},["ShallowReactive",2],{"project-22200584":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":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":44,"post_text":47,"what":48,"said":74,"maker_in_thread":198,"shape":206,"grid":209,"attempts":559,"same_week":560,"maker_shows":18,"maker_hidden":590,"reader_version":591,"card":592},"22200584","Regex Cheatsheet","You're totally right.","maker","Show HN: Regex Cheatsheet","https:\u002F\u002Fihateregex.io\u002F","ihateregex.io","geongeorgek",1580466771,2020,499,129,53,3028,2,"legend","dev_tools","regex reference","web_app",[24,25,26,27],"regex cheatsheet","regular expressions","regex diagram","regex tester","debated",-0.033,{"positive":31,"neutral":32,"mixed":33,"critical":34},11,6,1,13,31,{"docs":37,"design":38,"idea":41,"execution":42},{"positive":18,"critical":33},{"positive":39,"critical":40},4,0,{"positive":33,"critical":33},{"positive":40,"critical":43},8,[45,40,40,40,46,40,40,40,40,40,40,40,46,46,40,45,40,33,40,46,40,46,40,40,45,33,33,40,33,45,33,33,33,40,33,39,46,40,40,46],3,5,null,{"problem":49,"audience":55,"pricing":47,"motivation":61,"time_to_build":47,"stack":65,"openness":72,"stage":73,"team_size":72},{"value":50,"source":7,"evidence":51},"Learning and recalling regular expression syntax and what expressions do",[52],{"id":53,"by":11,"text":54},"22200589","I used to spend hours trying to craft the perfect expression for my scraping projects not realizing that I don't really know regex. This tool is a cheat sheet that also explains…",{"value":56,"source":7,"evidence":57},"Beginners and developers who use regex",[58],{"id":59,"by":11,"text":60},"22201759","This is really intended for beginners. but I can confirm more content is coming soon \u003C3",{"value":62,"source":7,"evidence":63},"Maker spent hours crafting expressions without really knowing regex",[64],{"id":53,"by":11,"text":54},[66],{"value":67,"source":7,"evidence":68},"JavaScript flavour of regex only",[69],{"id":70,"by":11,"text":71},"22202983","You're totally right. Right now this tool only supports the javascript flavor of regex. That said, for all the simple expressions shown there it's more or less the same for most…","unknown","launched",{"praise":75,"objections":103,"requests":131,"questions":150,"alternatives":165},[76,92],{"value":77,"source":78,"evidence":79},"Railroad diagrams help understand what an expression does","commenter",[80,84,88],{"id":81,"by":82,"text":83},"22201449","__tk__","I'm loving the graphs which for the first time in years are giving me an idea of what an expression is actually doing. Just because the visualization is kept in a form that is…",{"id":85,"by":86,"text":87},"22201483","StavrosK","I love regex and have no trouble reading them, but still love this tool, great job. I especially like the railroad diagrams, for those cases where I brainfarted on a regex and…",{"id":89,"by":90,"text":91},"22201561","mimixco","This is awesome! Thank you! I hate regex, too, but I love your inline railroad diagramming tool.",{"value":93,"source":78,"evidence":94},"Good concise tool",[95,99],{"id":96,"by":97,"text":98},"22209550","shawnyou","Good tool",{"id":100,"by":101,"text":102},"22206399","samat","This is very neat, thank you!",[104,119,127],{"value":105,"source":78,"evidence":106},"Several regexes are wrong or misleading, such as email and IPv6 patterns",[107,111,115],{"id":108,"by":109,"text":110},"22201607","kitd","This is really cool! 2 points: 1. it fiddled with my back button which is a bit annoying 2. a better email sample is ``` ^[^@]+@[^@]+\\.[^@]+$ ``` which removes the 2 ampersands…",{"id":112,"by":113,"text":114},"22210055","Diti","For the love of god, PLEASE DON’T USE REGEX TO VALIDATE EMAIL. The RegEx of this website ignores plus-addressing, for example. All you need to do to validate email is send a…",{"id":116,"by":117,"text":118},"22205914","kazinator","There is no way I would just plop that IPv6 regex into any serious program. :)",{"value":120,"source":78,"evidence":121},"Only supports JavaScript flavour, flavour not stated clearly",[122,126],{"id":123,"by":124,"text":125},"22202182","asicsp","neat site! clicking an example opens up a playground with live update and explanation and railroad diagrams, similar to sites like regex101[1] and regulex[2] one suggestion would…",{"id":70,"by":11,"text":71},{"value":128,"source":78,"evidence":129},"Back button behaviour is broken",[130],{"id":108,"by":109,"text":110},[132,140],{"value":133,"source":78,"evidence":134},"Support other regex flavours and document differences",[135,139],{"id":136,"by":137,"text":138},"22202726","robert_tweed","OK, these kinds of regex tools get posted quite often. I get it, regex is very confusing at first. And some of these use-cases result in rather complex expressions nobody should…",{"id":123,"by":124,"text":125},{"value":141,"source":78,"evidence":142},"Add more content and crowdsourced regexes",[143,146],{"id":144,"by":11,"text":145},"22201518","I'm glad you like the tool \u003C3 It will have a lot more content soon :)",{"id":147,"by":148,"text":149},"22213466","hamid_ra","love the idea! I would crowdsource it so people can add their regex and vote on other people rexgexes!",[151,158],{"value":152,"source":78,"evidence":153},"Is the IPv4 diagram repeat count correct",[154],{"id":155,"by":156,"text":157},"22201979","dan_hawkins","Is there a bug? In regexp for IPv4: https:\u002F\u002Fihateregex.io\u002Fexpr\u002Fip expression ends with {3} but the diagram states \"2 times\" in lower right - shouldn't it say \"3 times\"?",{"value":159,"source":78,"evidence":160},"Diagram source credit to regexper missing in frame",[161],{"id":162,"by":163,"text":164},"22202225","KenanSulayman","I don't understand why the Github repository lists regexper as the source of the visual graph code but the frame only shows iHateRegex as watermark? If the only thing that is…",[166,177,184,191],{"value":167,"source":78,"evidence":168},"regex101",[169,173],{"id":170,"by":171,"text":172},"22202108","strig","My go-to is https:\u002F\u002Fregex101.com\u002F",{"id":174,"by":175,"text":176},"22202304","xxsaculxx","Nice tool! I personally use https:\u002F\u002Fregex101.com\u002F as I like the explanations and quick reference.",{"value":178,"source":78,"evidence":179},"regexr",[180],{"id":181,"by":182,"text":183},"22201886","darau1","Nobody pointed it out, but there's also https:\u002F\u002Fregexr.com\u002F It's how I learned regex years ago, and I still use it today to test\u002Fbuild more complex patterns.",{"value":185,"source":78,"evidence":186},"regexper",[187],{"id":188,"by":189,"text":190},"22202586","smartmic","Here is my goto resource for checking regexpr with railroad diagrams: https:\u002F\u002Fregexper.com\u002F",{"value":192,"source":78,"evidence":193},"Patterns app",[194],{"id":195,"by":196,"text":197},"22204652","waz0wski","if you're on osx, the app Patterns is really good for testing regex, and also has quick references for a variety of regex 'engines' and also has decent matching explanations…",{"comments":199,"answered":18,"key":200},18,[201,202,203],{"id":70,"text":71},{"id":59,"text":60},{"id":204,"text":205},"22201524","I can't take credit for the visualizations although implementing it was a pain in the ass. It was originally created by: https:\u002F\u002Fregexper.com\u002F",{"commenters":207,"max_depth":32,"maker_replies":199,"first_comment_mins":33,"lifespan_hours":208},84,297,[210,212,214,217,221,224,227,230,234,237,240,243,246,249,253,256,259,261,262,265,268,271,274,275,278,281,284,287,289,291,292,295,296,298,300,303,306,309,310,313,315,317,320,323,325,326,327,329,332,335,340,343,346,349,352,354,358,361,366,370,373,376,379,381,384,387,389,393,396,398,400,404,406,408,410,413,415,417,419,422,427,429,431,434,437,440,443,445,448,451,453,455,457,460,463,465,468,470,475,479,481,483,486,490,492,494,498,500,502,505,509,513,515,519,521,526,528,532,534,536,540,543,545,547,549,551,553,555,557],[136,40,45,211,137,40],"project\u002Fneutral\u002Fdocs",[70,40,40,213,11,33],"maker\u002Fneutral\u002Fdocs",[215,40,45,211,216,40],"22203134","celeritascelery",[218,40,40,219,220,40],"22221289","other\u002Fneutral\u002Fnone","wyclif",[222,40,40,219,223,40],"22203374","justaj",[225,40,40,219,226,40],"22203571","chirss",[228,40,40,219,229,40],"22204996","new_guy",[231,40,40,232,233,40],"22205605","commenter\u002Fneutral\u002Fnone","absorber",[235,40,40,219,236,40],"22209995","quickthrower2",[238,40,40,232,239,40],"22214213","freehunter",[241,40,40,232,242,40],"22207912","olskool",[244,40,40,232,245,40],"22209703","doliveira",[247,40,46,248,226,40],"22203605","project\u002Fpositive\u002Fdocs",[250,40,40,251,252,40],"22203713","other\u002Fneutral\u002Fdocs","mklein994",[254,40,40,251,255,40],"22204571","alexhutcheson",[257,40,40,219,258,40],"22208732","useragent86",[260,40,40,232,255,40],"22212088",[195,40,40,219,196,40],[263,40,40,251,264,40],"22206589","8bitsrule",[266,40,40,232,267,40],"22207243","zaptheimpaler",[269,40,40,219,270,40],"22209644","AlchemistCamp",[272,33,40,251,273,40],"22201655","crispyambulance",[59,33,40,213,11,33],[276,33,40,219,277,40],"22202491","wahern",[279,33,40,219,280,40],"22203637","ygra",[282,33,40,219,283,40],"22206800","lonelappde",[285,33,40,219,286,40],"22206814","glangdale",[288,33,40,219,277,40],"22207519",[290,33,40,219,286,40],"22232616",[181,18,40,219,182,40],[293,18,40,219,294,40],"22202105","jve",[170,18,40,219,171,40],[297,18,40,219,182,40],"22202127",[299,18,40,219,226,40],"22203659",[301,18,40,219,302,40],"22202136","52-6F-62",[304,18,40,219,305,40],"22202405","bepvte",[307,18,40,219,308,40],"22202722","huseyinkeles",[188,18,40,251,189,40],[311,18,40,219,312,40],"22202687","imafish",[81,45,46,314,82,40],"project\u002Fpositive\u002Fdesign",[204,45,40,316,11,33],"maker\u002Fneutral\u002Fdesign",[318,45,46,314,319,40],"22201666","noxToken",[321,45,40,219,322,40],"22201935","leibnitz27",[53,39,40,324,11,33],"maker\u002Fneutral\u002Fidea",[85,46,46,314,86,40],[144,46,40,213,11,33],[328,46,40,219,226,40],"22203666",[330,32,40,219,331,40],"22202095","lfglopes",[333,32,40,219,334,40],"22244588","deadliftpro",[336,337,45,338,339,40],"22205850",7,"project\u002Fneutral\u002Fidea","rubyn00bie",[341,337,40,232,342,40],"22205872","p4lindromica",[344,43,40,219,345,40],"22201789","philshem",[347,43,40,348,11,33],"22202571","maker\u002Fneutral\u002Fnone",[350,43,40,219,351,40],"22204653","johnnylambada",[353,43,40,219,345,40],"22204790",[355,356,40,251,357,40],"22202298",9,"vzidex",[359,356,40,360,11,33],"22202577","maker\u002Fpositive\u002Fnone",[362,363,33,364,365,40],"22202574",10,"project\u002Fcritical\u002Fdocs","adambowles",[367,363,40,368,369,40],"22206772","commenter\u002Fneutral\u002Fdocs","jodrellblank",[371,31,40,219,372,40],"22202862","dana321",[374,31,40,232,375,40],"22204481","radiac",[377,31,40,378,372,40],"22216632","commenter\u002Fpositive\u002Fnone",[123,380,46,248,124,40],12,[382,380,40,383,11,33],"22202274","project\u002Fneutral\u002Fnone",[385,34,40,219,386,40],"22201536","Glench",[388,34,40,219,11,33],"22201557",[390,34,40,391,392,40],"22201589","other\u002Fneutral\u002Fidea","certifiedloud",[394,34,40,219,395,40],"22201882","linusjs_",[89,397,46,314,90,40],14,[399,397,40,360,11,33],"22201622",[401,402,40,219,403,40],"22203549",15,"superasn",[405,402,40,232,226,40],"22203630",[407,402,40,232,403,40],"22203975",[409,402,40,232,226,40],"22205717",[411,402,40,219,412,40],"22203705","gizmo686",[414,402,40,219,403,40],"22203923",[416,402,40,219,412,40],"22207312",[418,402,40,378,403,40],"22208927",[174,420,46,421,175,40],16,"project\u002Fpositive\u002Fnone",[423,424,33,425,426,40],"22206334",17,"project\u002Fcritical\u002Fnone","sylvanaar",[108,199,33,428,109,40],"project\u002Fcritical\u002Fexecution",[430,199,40,360,11,33],"22201617",[432,199,33,428,433,40],"22201855","skrebbel",[435,199,40,232,436,40],"22202088","anamexis",[438,199,33,428,439,40],"22202195","laumars",[441,199,40,232,442,40],"22202451","donalhunt",[444,199,40,232,439,40],"22210325",[446,199,40,232,447,40],"22204131","bduerst",[449,199,40,232,450,40],"22205847","bradbeattie",[452,199,40,232,439,40],"22210337",[454,199,40,232,447,40],"22227373",[456,199,40,232,439,40],"22245796",[458,199,33,428,459,40],"22202377","bmn__",[155,461,45,462,156,40],19,"project\u002Fneutral\u002Fexecution",[464,461,40,232,294,40],"22202016",[466,461,40,467,11,33],"22202833","maker\u002Fneutral\u002Fexecution",[162,469,33,425,163,40],20,[471,472,45,473,474,40],"22203105",21,"project\u002Fmixed\u002Fdesign","hyperpape",[476,477,40,219,478,40],"22204837",22,"mNovak",[116,480,33,428,117,40],23,[112,482,33,428,113,40],24,[484,482,33,428,485,40],"22210134","xiconfjs",[487,488,45,383,489,40],"22202074",25,"axegon",[491,488,40,348,11,33],"22208414",[493,488,40,219,489,40],"22223958",[495,496,33,428,497,40],"22201857",26,"Amarok",[499,496,40,467,11,33],"22202048",[501,496,40,232,124,40],"22202098",[503,496,40,232,504,40],"22202233","aratauto",[506,507,40,219,508,40],"22206918",27,"chenster",[510,511,33,425,512,40],"22203067",28,"binarysneaker",[514,511,40,232,11,33],"22204437",[516,517,46,421,518,40],"22202866",29,"olalonde",[520,517,40,360,11,33],"22208411",[522,523,33,524,525,40],"22203946",30,"project\u002Fcritical\u002Fidea","esaym",[147,35,46,527,148,40],"project\u002Fpositive\u002Fidea",[529,530,45,462,531,40],"22201952",32,"ape4",[533,530,40,348,11,33],"22202051",[100,535,46,421,101,40],33,[537,538,40,219,539,40],"22201996",34,"blauditore",[541,538,40,219,542,40],"22202223","arkh",[544,538,40,219,124,40],"22202408",[546,538,40,348,11,33],"22202280",[548,538,40,219,459,40],"22202287",[550,538,40,219,236,40],"22204616",[552,538,40,219,226,40],"22205795",[554,538,40,219,459,40],"22211185",[556,538,40,232,226,40],"22311874",[96,558,46,421,97,40],35,[],[561,566,571,575,580,585],{"id":562,"name":563,"points":564,"category":565},"22249811","Machine Learning Powered Applications (book)",272,"learning_science",{"id":567,"name":568,"points":569,"category":570},"22210046","Visa List (LGBT+ travel rankings)",186,"consumer_social",{"id":572,"name":573,"points":574,"category":570},"22244109","Camp Fire",151,{"id":576,"name":577,"points":578,"category":579},"22192155","Mailcoach",149,"web_saas",{"id":581,"name":582,"points":583,"category":584},"22233457","Hacker News Trends",137,"data",{"id":586,"name":587,"points":588,"category":589},"22210782","Heimdall",130,"productivity",false,"v2",{"id":593,"name":5,"line":6,"ai":590,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":594,"top":18,"kw":595,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":596,"url":9,"mix":597,"praise":77,"objection":105,"sub":21},22200584,-0.03,[24,25,26,27],"3000500000005503010505003110131110145005",[31,32,33,34],1794036586007]