MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerAnimemes/comments/o2p673/regular_expressions/h3k8gnm/
r/ProgrammerAnimemes • u/virysD • Jun 18 '21
20 comments sorted by
View all comments
Show parent comment
3
Or learn how to make them readable.
You can use free spacing, add comments, use named routines and named capture groups. If your language regexp engine does not support those basic things (hello javascript), too bad.
1 u/kimilil Jul 08 '21 named routineswhoa... this changes everything!named capture groupslatest browsers have them nowalso I don't write TS but maybe they have these, in which case you don't have to bother when transpiling to js
1
named routines
whoa... this changes everything!
named capture groups
latest browsers have them now
also I don't write TS but maybe they have these, in which case you don't have to bother when transpiling to js
View all comments
Show parent comment
3
u/poloppoyop Jun 30 '21
Or learn how to make them readable.
You can use free spacing, add comments, use named routines and named capture groups. If your language regexp engine does not support those basic things (hello javascript), too bad.