this post was submitted on 03 Jul 2023
2 points (56.2% liked)
RegEx
369 readers
1 users here now
Welcome to the RegEx community! This is a place where you can learn about and get help with regular expressions
A regular expression is a sequence of characters that specifies a match pattern in text. Theyre usually used for find, or find and replace operations on strings, or for input validation.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Also works for cron jobs, shell scripts, SQL queries, HTML layouts and the odd mermaid diagram
Yeah totally! I would encourage everyone to try it with their workflow and see where it can make a difference and where it falls short.
Reason I made an example out of regex is b/c of how much hate it gets :D I definitely see why regex is widely appreciated.
Theres like a whole class of "Stuff you have to relearn every time you have to use it": XPath, JMESPath, cron, ffmpeg, ImageMagick, PostScript etc.. REGEX might be king of those :p
😂 If I could summarize my engineering career, that would be the one liner.