One thing I dislike about python is how painful it is to use regular expressions that capture matching groups of characters. For example, if I want to find words in quotes, I would write: 261 more words
Tags » Regex
What are Regular Expressions?
- A regular expression (also known as regex) is a special text string for describing a search pattern.
- Searching with regular expressions enables you to get results with just one search instead of many searches. 1,461 more words
In PHPStorm, you can do a regex find and replace. To upgrade a crappy old site using <?, just use the following regex:
We have some rectangles:
We also have a bigger, empty rectangle:
The goal is to fill the whole empty rectangle with some of the smaller rectangles, and to do it using a .Net regular expression (obviously). 1,786 more words