regex is like Chinese to me. I never wanted to learn it.
No it won't for some people. I've tried on and off for years but the understanding never comes. I can manage complex logic but I could never 'see' regexes, though I know some people can use them apparently intuitively.will take you maybe 20 minutes
No it won't for some people. I've tried on and off for years but the understanding never comes. I can manage complex logic but I could never 'see' regexes, though I know some people can use them apparently intuitively.
SNAP, I totally agree.I think this is one of the areas in my coding world that I have not mastered.
Cant we just write RegEx in our native languages. "In this word find x then replace with y, after you check if the sentence has numbers.... ?" LOLhave a look at this guy and maybe your opinion will change
It's a fair question, and these easy-to-understand documents and links will discuss this in simple terms that everybody can easily understand after a quick read*:Cant we just write RegEx in our native languages. "In this word find x then replace with y, after you check if the sentence has numbers.... ?" LOL
If I could understand the above, I can go for a doctorate study. ?It's a fair question, and these easy-to-understand documents and links will discuss this in simple terms that everybody can easily understand after a quick read*:
”Generating Regular Expressions from Natural Language Specifications: Are We There Yet?”
”SoftRegex: Generating Regex from Natural Language Descriptions using Softened Regex Equivalence”
”Is there a regular language to represent regular expressions?”
Is there a regular language to represent regular expressions?
Specifically, I noticed that the language of regular expressions itself isn't regular. So, I can't use a regular expression to parse a given regular expression. I need to use a parser since the lan...stackoverflow.com
This might actually be helpful to you, going the other direction:
RegExTranslator: You're a RegExpert now
You can use RegExTranslator.com to decode a regular expression into English or to write your own regular expression with Simple Regex Language. We also include common patterns like regex for phone numbers, regex for email addresses, and general pattern matching. You can even create and store...www.regextranslator.com
* Joke
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?