RegexTip
-
Four tips for learning regular expressions
33 minutes ago
via HootSuite
-
A dot matches any single character. For example, /r.de/ matches 'ride', 'rode' etc.
8:00 AM Jun 1st
via HootSuite
-
? means a character or expression is optional, i.e. zero or one repeats. Example: /ab?c/ matches 'ac' and 'abc' but not 'abbc'.
8:00 AM May 30th
via HootSuite
-
* means zero or more repeats. Ex: /ab*c/ matches 'ac', 'abc', 'abbc', etc.
8:01 AM May 29th
via HootSuite
-
Languages have minor variations in their regex support. @ mostly sticks to the common features of Perl, C#, Python, JavaScript, ...
8:00 AM May 28th
via HootSuite
-
Languages have minor variations in their regex support. @ mostly sticks to the common features of Perl, C#, Python, JavaScript, etc.
8:01 AM May 25th
via HootSuite
-
RT @: Perl Compatible Regular Expression (PCRE) in Python
8:55 AM May 24th
via HootSuite
-
Next week, @ starts over with the basics of regular expressions.
8:01 AM May 24th
via HootSuite
-
The -f option in grep lets you specify a file of regular expressions, one per line.
8:01 AM May 23rd
via HootSuite
-
zgrep searches for regular expressions inside a compressed file.
8:01 AM May 22nd
via HootSuite
-
A pair of numbers in curly braces specifies a range of repetitions. For example, \d{2,5} matches from two to five digits.
8:01 AM May 21st
via HootSuite
-
Using regular expressions in Mathematica
8:01 AM May 18th
via HootSuite
-
A number in curly braces repeats a pattern that many times. Example: \d{3} is the same as \d\d\d.
8:01 AM May 17th
via HootSuite
-
A regex that tests numbers for prime numbers:
8:01 AM May 16th
via HootSuite
-
Emacs regular expression tutorial
8:01 AM May 15th
via HootSuite
-
All look-arounds start with '(?' then optionally have '<' for 'behind'. Then '=' for positive and '!' for negative.
8:02 AM May 14th
via HootSuite
-
Using regular expressions in R
8:01 AM May 11th
via HootSuite
-
Mnemonic for look-behind syntax: just like look-ahead, but with a '<' after the question mark to indicate 'behind'.
8:02 AM May 10th
via HootSuite
-
Negative look-behind is denoted (?<! ... ). Example: (?<!L)\d{3} matches three digits not preceded by an 'L'
8:01 AM May 9th
via HootSuite
-
Thanks for following! @ now has over 10,000 followers.
7:35 AM May 9th
via HootSuite
|
- Name Regular Expression
- Web http://www.johndc...
- Bio Learn to use regular expressions by following RegexTip for one tip per week day. From @JohnDCook.
|