HNHacker News
TopNewBestAskShowJobs

chirss

15 karma · joined January 31, 2020

submissionscomments
chirss··on Help Me Help You, Maintainers
The list at the end isn't that good though. It's basically dictating this Matt Dugan's preferences. The third one about seven systems is both an exaggeration and a demand.

The rest of this page makes me think it would be really hard to work with Matt, and I'd probably just pass back when I was running projects. It's not worth the effort.

chirss··on Show HN: Regex Cheatsheet
Well yea, it's a joke...
chirss··on Decentralized Naming and Certificate Authority
For real, it can't even work with regular expressions decently.
chirss··on Show HN: Regex Cheatsheet
boom. https://regex101.com/r/PxSY4U/1 technically it does parse it. :P
chirss··on Show HN: Regex Cheatsheet
I guess I don't understand. Mind throwing up an example with multiple test strings on regex101.com ? I'd like to take a look and see if I can make a regex which does what you want.

So if you could write the examples there, and then a description like you would tell your mom of what you want I'll see what I can do.

chirss··on Show HN: Regex Cheatsheet
If you want some help swing by #regex on efnet, happy to help.
chirss··on Show HN: Regex Cheatsheet
We use it on slack and irc for debugging people's regular expressions all the time. Being able to have 30 revisions to a base regex to troubleshoot is fantastic.

Plus the quiz is awesome.

chirss··on Show HN: Regex Cheatsheet
Can you explain the problem further?
chirss··on Show HN: Regex Cheatsheet
regex101 does a good job at showing you what the selected variant can do.
chirss··on Show HN: Regex Cheatsheet
Honestly don't let this get you down, here's a learning plan (use regex101 to learn)

1) Learn PCRE regex. 2) Try regex golf or cross words to learn PCRE regex. 3) Take the quiz on regex101.

Once you're done with all 3:

Learn the minor/major differences in the other languages. There aren't many. For example this named capture group:

(?<somename>someregex)

Would look like this in a different language:

(?P<somename>someregex)

There's some differences about what language can and cannot do like recursion because someone thought it was a great idea to make javascript awful at regex, but that's besides the point. Regex is totally worth learning.