@hongminhee@hollo.social · Reply to Chee Aun 🤔
@cheeaun Yeah, exactly! I guess your ex-colleagues might be bothered if patterns were written in Parsec-style syntax. 🤔
@cheeaun Yeah, exactly! I guess your ex-colleagues might be bothered if patterns were written in Parsec-style syntax. 🤔
@hongminhee I don't even write comments or indents in my regexes 🙈🤣
I do remember this style for super large regexes: https://github.com/twitter/twitter-text/blob/30e2430d90cff3b46393ea54caf511441983c260/js/src/regexp/extractUrl.js#L13-L33
…and some folks write their own more-readable wrappers like `magic-regexp` https://regexp.dev/ - reminds me of tailwind used by folks who prefer not to code vanilla CSS 🙈
regexp.dev