Re:Show HN: RegEx for Regular Folk – A visual, example-based...
by catblast on Friday May 01, 2020 @04:58PM
(#23046411)
That's not really true. The guide seems to be javascript centric. The slash and flags is not part of the regex, it's a delimiter. In certain contexts like sed, perl, php, an arbitrary delimiter can be used to avoid needing to escape slashes. If you pass a string to a regex engine with a /, it does what you would expect, match a literal /. For instance, python and grep does not interpret slashes and flags. Those are pretty common.
Re:Show HN: RegEx for Regular Folk – A visual, example-based...
by olq on Friday May 01, 2020 @05:00PM
(#23046436)
Thanks for the heads up, it seems i have some more reading to do :)
Re:Show HN: RegEx for Regular Folk – A visual, example-based...
by shreyasminocha on Friday May 01, 2020 @05:17PM
(#23046597)
> is there a simple way to get this on one a single page and make it easier to print?
That's on my TODO!
- https://github.com/shreyasminocha/regex-for-regular-folk/iss... - https://github.com/shreyasminocha/regex-for-regular-folk/iss...
I was having some trouble with wkhtmltopdf, but I'll try to figure this out ASAP.
Re:Show HN: RegEx for Regular Folk – A visual, example-based...
by olq on Friday May 01, 2020 @06:51PM
(#23047335)
I don't know what that is but just having all html pages merged into one would be enough and super useful for me and my printing purposes, and probably good for web UX too. Keep up the good work mate
Re:Show HN: RegEx for Regular Folk – A visual, example-based...
by shreyasminocha on Saturday May 02, 2020 @05:54AM
(#23050651)
There it is! https://refrf.shreyasminocha.me/book
Printing instructions are on the home page.
On another note, since this is supposed to be a book and all, is there a simple way to get this on one a single page and make it easier to print?