Better HN
topnewbestaskshowjobs
Log inSign up

chirss

15 karma · joined Jan 31, 2020 (6y ago) · 10 submissions

Submissions

comment 1y ago · link · parent

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.

comment 6y ago · link · parent

Well yea, it's a joke...

comment 6y ago · link · parent

For real, it can't even work with regular expressions decently.

comment 6y ago · link · parent

boom. https://regex101.com/r/PxSY4U/1 technically it does parse it. :P

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

If you want some help swing by #regex on efnet, happy to help.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Can you explain the problem further?

comment 6y ago · link · parent

regex101 does a good job at showing you what the selected variant can do.

comment 6y ago · link · parent

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.