Re:The New ‘Absent Operator’ in Ruby’s Regular Expressions
by petercooper on Thursday March 23, 2017 @11:25AM
(#13940555)
Have you considered doing a sort of regex best practices post? I'd be happy to promote such a thing or even help get it out. I think a lot of people want that sort of info.
[ Parent
| on HN ]
Re:The New ‘Absent Operator’ in Ruby’s Regular Expressions
by falsedan on Friday March 24, 2017 @09:56AM
(#13948905)
If I wrote a post, it would be: "read Ch. 12 of Perl Best Practices (2005)[0]".
Yow, $30+ for the ebook! I wouldn't buy if just for that chapter… fortunately, the guidelines from the book have been codified as Perl::Critic, so If you don't mind missing out on the gently guiding text which accompanies each rule, you can browse the Perl::Critic::Policy::RegularExpressions[1] submodule docs.
[0]: http://shop.oreilly.com/product/9780596001735.do [1]: https://metacpan.org/pod/Perl::Critic::Policy::RegularExpres...