Linked by Thom Holwerda on Sat 15th Apr 2006 18:19 UTC, submitted by Mark
General Development "In this article a simple usage of regular expressions is described. Its intention is to bring users to try the most powerful search and replace paradigm available and hopefully start using it. This however can not replace good tutorials available on the sites that are also mentioned in this article. The article is written reproducing actual steps I took to complete my task, to show the specifics and possible problems."
Thread beginning with comment 115130
To read all comments associated with this story, please click here.
Regex
by Vorlath on Sat 15th Apr 2006 19:27 UTC
Vorlath
Member since:
2005-12-03

Regular Expressions are something every programming language and every OS should have. I would push for some form of standardisation though. Those b w things aren't standard and many implementations don't include them. I'd also push for two different kinds of regex. One with DFA and another that supports backreference (hybrid or whatnot) with automatic detection. Other things that would be nice is lazy and greedy qualifiers.

Reply Score: 3

RE: Regex
by kamper on Sun 16th Apr 2006 03:08 in reply to "Regex"
kamper Member since:
2005-08-20

Regular Expressions are something every programming language and every OS should have.

Agreed. For me, it's something I can never predict when I will need, but every now and then I'm really thankful I know the basics so I can do something quickly.

I would push for some form of standardisation though.

In a sense I agree because little pisses me off more than an editor with a brain-dead regex syntax that stops me from doing things I know should be simple.

On the other hand, as long as an implementation provides a reasonable way to do all the common things (and a decent reference if they're not intuitive) I don't think standardization's that big a deal. It's like programming: you learn the common concepts once or twice and then you can pick up new languages really quickly.

Reply Parent Score: 3

RE[2]: Regex
by John Nilsson on Sun 16th Apr 2006 20:07 in reply to "RE: Regex"
John Nilsson Member since:
2005-07-06

I don't think standardization's that big a deal. It's like programming: you learn the common concepts once or twice and then you can pick up new languages really quickly.

Nah, the problem with RE aren't diffrent syntax. Most of the time it's the missing features that annoys me.

Reply Parent Score: 2