Published at LXer:
Regular expressions provide a robust set of features in the Bash Shell. This article lists 13 features you need to know about regex.
on 11/14/2010 – Made popular on 11/14/2010
Regular expressions as a concept is not exclusive to Python at all. Python, however, does have some nuances when it come to working with regular expressions. This article is part of a series of articles on Python Regular Expressions.
There's an old quote from Jamie Zawinkski that goes: "Some people, when confronted with a problem, think I know, I'll use regular expressions. Now they have two problems." Even people like me who like regular expressions laugh at the truth in that quote, because we've seen the consequences when someone doesn't think through the implications of a poorly written patte
When it comes to PHP, there is really on one true Regular Expression (Regex) standard to use. It is called PCRE (Perl-Compatible Regular Expressions). You might not even know that you were using PCRE, but chances are that you were. … [ Continue ]
In the past few articles in the Python series, we’ve learned a lot about working with regular expressions in Python. In this article, we’ll explain how we could use python regular expressions for a realistic task.
This article is part of a series of articles on Python Regular Expressions. This article is a continuation on the topic and will build on what we’ve previously learned. In this article we’ll discuss: Working with Multi-line strings / matches Greedy vs.
I have discovered Regular Expressions in LibreOffice (Search and Replace) and I have found it very useful. I have a few questions on RegEx. What is the best way to learn it? Is regex for libreoffice the same as in the grep command?
In one of our earlier article on vim, we discussed about macros and bookmarks. Besides these features, there are many other features that are very helpful while text and code editing in Vim editor. In this article, I will present eight interesting and really helpful features that I use every time I work on Vim editor
Is there a historical reason why Bash "globbing" and regular expressions are not identical? For example, I believe that in Bash [1-2]* matches anything that starts with a 1 or a 2 followed by anything else, while as a regular expression [1-2]* would match only a sequence of 1s and 2s.