[{"data":1,"prerenderedAt":304},["ShallowReactive",2],{"project-1725447":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":34,"aspects":35,"strip":41,"post_text":42,"what":43,"said":74,"maker_in_thread":188,"shape":196,"grid":200,"attempts":274,"same_week":275,"maker_shows":33,"maker_hidden":296,"reader_version":297,"card":298},"1725447","regexio","my regular expression example match generator","title","Show HN: my regular expression example match generator","http:\u002F\u002Fregexio.com\u002F","regexio.com","rndmcnlly0",1285362678,2010,46,33,37,370,10,"shown","dev_tools","regex tester","web_app",[24,25,26,27],"regular expression","regex generator","regex examples","regex learning","mixed",0.138,{"positive":31,"neutral":32,"mixed":31,"critical":33},3,5,2,13,{"idea":36,"execution":39,"design":40},{"positive":37,"critical":38},1,0,{"positive":38,"critical":33},{"positive":38,"critical":38},[38,32,38,31,31,38,37,38,32,31,38,31,31,38,38,38,38,31,38,38,38,31,38,31,38,38,37,38,38,38,38,38,32],null,{"problem":44,"audience":54,"pricing":42,"motivation":58,"time_to_build":42,"stack":62,"openness":71,"stage":72,"team_size":73},{"value":45,"source":46,"evidence":47},"Helps developers understand regular expressions by seeing example matches they generate.","maker",[48,51],{"id":49,"by":11,"text":50},"1725471","I made this tool over a year ago as a proof of concept. It doesn't support all features (like negations inside of character classes), but it should demonstrate the benefit that a…",{"id":52,"by":11,"text":53},"1725806","Here is the source to the python meat of this project: http:\u002F\u002Fpastie.org\u002F1180230 The general idea is that it is a command line tool that reads a regex as input (along with a…",{"value":55,"source":46,"evidence":56},"Newbie developers learning regular expressions.",[57],{"id":49,"by":11,"text":50},{"value":59,"source":46,"evidence":60},"Proof of concept to demonstrate the benefit of generating regex matches.",[61],{"id":49,"by":11,"text":50},[63,67],{"value":64,"source":46,"evidence":65},"Python",[66],{"id":52,"by":11,"text":53},{"value":68,"source":46,"evidence":69},"simpleparse library",[70],{"id":52,"by":11,"text":53},"open_source","launched","unknown",{"praise":75,"objections":92,"requests":114,"questions":137,"alternatives":149},[76],{"value":77,"source":78,"evidence":79},"Useful for understanding regex by seeing matches.","commenter",[80,84,88],{"id":81,"by":82,"text":83},"1725532","pjscott","It doesn't seem to be able to handle character classes of the type [^abc], which matches any character except a, b, or c. It's pretty cool, though. I tried copying and pasting…",{"id":85,"by":86,"text":87},"1726563","frobozz","What an exceptionally helpful tool! thanks.",{"id":89,"by":90,"text":91},"1725692","jimbokun","Bookmarked. I had an immediate use for this, and your application filled it beautifully.",[93,100,107],{"value":94,"source":78,"evidence":95},"Does not support negated character classes like [^abc].",[96,97],{"id":81,"by":82,"text":83},{"id":98,"by":11,"text":99},"1725568","I purposely punted on inverted character classes because they brought up a major usability issue that I didn't have a quick solution for. The expression \u002F[^abc]\u002F should match…",{"value":101,"source":78,"evidence":102},"Back-references support is limited to one group.",[103],{"id":104,"by":105,"text":106},"1725684","nuclear_eclipse","Congrats on supporting back-references :) Hint: Try using \"1(0+)1\\1\" or \"([a-zA-Z]+)\\1\" for some nifty examples of things that technically aren't possible with true regular…",{"value":108,"source":78,"evidence":109},"Special characters like \\d do not work as expected.",[110],{"id":111,"by":112,"text":113},"1725535","JangoSteve","This first thing I tried to do was ``` [\\d]+ ``` But it didn't work. Took me a few tries to get it to work. I'm guessing it simply doesn't work with special regex characters. You…",[115,119,126,133],{"value":116,"source":46,"evidence":117},"Generate matches from a selected background language like HTML or ASCII.",[118],{"id":98,"by":11,"text":99},{"value":120,"source":78,"evidence":121},"Support selecting different regex engines such as Python, Perl, or Emacs.",[122],{"id":123,"by":124,"text":125},"1725760","j_baker","One thing that would be useful is if I could select different regex engines. Python does things slightly differently from Perl, C#, and (especially) emacs.",{"value":127,"source":78,"evidence":128},"Show multiple example matches rather than one.",[129],{"id":130,"by":131,"text":132},"1726038","gus_massa","I think that it should show for example 10 matches (not only one), so it is easier to have an idea of \"all\" the possible matches.",{"value":134,"source":78,"evidence":135},"Generate a regex from a highlighted example string.",[136],{"id":111,"by":112,"text":113},[138],{"value":139,"source":78,"evidence":140},"How to generate all strings matching a regex efficiently.",[141,145],{"id":142,"by":143,"text":144},"1725579","kenjackson","In grad school I had a need for a tool that would generate all strings accepted by a regex of a specified size. I wrote one myself, but was never really satisfied that I did a…",{"id":146,"by":147,"text":148},"1725715","abecedarius","Doug McIlroy wrote an article on that: http:\u002F\u002Fwww.cs.dartmouth.edu\u002F~doug\u002Fnfa.ps.gz Code: http:\u002F\u002Fwww.cs.dartmouth.edu\u002F~doug\u002Fnfa.hs",[150,160,167,174,181],{"value":151,"source":78,"evidence":152},"Rubular",[153,157],{"id":154,"by":155,"text":156},"1726495","swaits","Similar: http:\u002F\u002Frubular.com\u002F",{"id":158,"by":155,"text":159},"1727038","Yes, I realize that rubular doesn't generate the matches. But they are both web sites where you primarily enter a regex in order to explore its behavior. The similarity is obvious.",{"value":161,"source":78,"evidence":162},"RegexPal",[163],{"id":164,"by":165,"text":166},"1726086","sharpemt","Something similar to check-out. Based in javascript and lets you visually verify basic patterns on text-blocks: http:\u002F\u002Fregexpal.com\u002F",{"value":168,"source":78,"evidence":169},"txt2re",[170],{"id":171,"by":172,"text":173},"1725972","DTrejo","I've found http:\u002F\u002Ftxt2re.com\u002F to be very helpful for simple things.",{"value":175,"source":78,"evidence":176},"Microsoft Rex",[177],{"id":178,"by":179,"text":180},"1726330","elblanco","Nearly forgot this similar effort: http:\u002F\u002Fresearch.microsoft.com\u002Fen-us\u002Fprojects\u002Frex\u002F",{"value":182,"source":78,"evidence":183},"Pythex",[184],{"id":185,"by":186,"text":187},"1726635","teoruiz","And the Python 're' option: http:\u002F\u002Fpythex.org\u002F",{"comments":189,"answered":31,"key":190},9,[191,192,193],{"id":49,"text":50},{"id":98,"text":99},{"id":194,"text":195},"1725553","I've thought about how to do a kind of regex-induction, where you give it matches and it gives you one or more expressions that will match it. But, after some thinking, even with…",{"commenters":197,"max_depth":31,"maker_replies":189,"first_comment_mins":198,"lifespan_hours":199},19,7,18,[201,203,206,208,210,211,212,216,219,222,224,225,229,231,233,234,237,239,242,244,247,250,251,253,256,258,259,262,265,267,269,271,272],[49,38,38,202,11,37],"maker\u002Fneutral\u002Fidea",[204,37,32,205,179,38],"1726319","project\u002Fpositive\u002Fidea",[178,37,38,207,179,38],"other\u002Fneutral\u002Fnone",[104,33,31,209,105,38],"project\u002Fmixed\u002Fexecution",[81,31,31,209,82,38],[98,31,38,202,11,37],[213,31,37,214,215,38],"1725726","project\u002Fcritical\u002Fexecution","nerfhammer",[217,31,38,218,147,38],"1725736","commenter\u002Fneutral\u002Fidea",[89,220,32,221,90,38],4,"project\u002Fpositive\u002Fnone",[111,32,31,223,112,38],"project\u002Fmixed\u002Fidea",[194,32,38,202,11,37],[226,32,31,227,228,38],"1726087","project\u002Fneutral\u002Fidea","jsankey",[142,230,31,227,143,38],6,[232,230,38,202,11,37],"1725626",[146,230,38,207,147,38],[235,230,38,236,143,38],"1725873","other\u002Fpositive\u002Fnone",[238,230,38,207,179,38],"1726324",[240,198,31,227,241,38],"1725580","jusob",[243,198,38,202,11,37],"1725612",[52,245,38,246,11,37],8,"maker\u002Fneutral\u002Fdocs",[248,189,38,207,249,38],"1725737","xtacy",[123,18,31,227,124,38],[252,18,38,202,11,37],"1725789",[130,254,31,255,131,38],11,"project\u002Fneutral\u002Fdesign",[171,257,38,207,172,38],12,[164,34,38,207,165,38],[260,261,37,214,215,38],"1725721",14,[263,261,38,264,11,37],"1726517","maker\u002Fneutral\u002Fexecution",[154,266,38,207,155,38],15,[268,266,38,202,11,37],"1726510",[158,266,38,270,155,38],"commenter\u002Fneutral\u002Fnone",[185,266,38,207,186,38],[85,273,32,221,86,38],16,[],[276,281,285,289,292],{"id":277,"name":278,"points":279,"category":280},"1741367","Koi",70,"languages",{"id":282,"name":283,"points":18,"category":284},"1739684","Instant Search for iPad","productivity",{"id":286,"name":287,"points":18,"category":288},"1740633","Review our public website?","web_saas",{"id":290,"name":291,"points":198,"category":280},"1726566","keyjson.org",{"id":293,"name":294,"points":33,"category":295},"1731070","HN Unread Comments","consumer_social",false,"v2",{"id":299,"name":5,"line":6,"ai":296,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":300,"top":18,"kw":301,"maker":11,"domain":10,"tier":19,"attempts":38,"strip":302,"url":9,"mix":303,"praise":77,"objection":94,"sub":21},1725447,0.14,[24,25,26,27],"050330105303300003000303001000005",[31,32,31,33],1793990867759]