PmWiki
pmwiki.org
edit SideBar
|
Main.RegExpApplet History
Hide minor edits - Show changes to markup
September 25, 2009, at 04:55 PM
by 192.28.0.20 -
Changed lines 9-10 from:
Regular Expressions: Now You Have Two Problems (@ Coding Horror)
to:
Regular Expressions: Don't Overuse Them (@ Coding Horror)
September 25, 2009, at 04:54 PM
by 192.28.0.20 -
Added lines 9-10:
Regular Expressions: Now You Have Two Problems (@ Coding Horror)
June 30, 2007, at 02:39 PM
by 72.140.6.85 -
Changed line 11 from:
Use the following at the beginning of the regex for:
to:
Embedded flag expressions can be used at the beginning of the pattern. The following notes have been collated from Sun's JavaDoc[1].
Changed line 14 from:
- By default, the regular expressions ^ and $ ignore line terminators and only match at the beginning and the end, respectively, of the entire input sequence. If MULTILINE mode is activated then ^ matches at the beginning of input and after any line terminator except at the end of input. When in MULTILINE mode $ matches just before a line terminator or the end of the input sequence.[1]
to:
- By default, the regular expressions ^ and $ ignore line terminators and only match at the beginning and the end, respectively, of the entire input sequence. If MULTILINE mode is activated then ^ matches at the beginning of input and after any line terminator except at the end of input. When in MULTILINE mode $ matches just before a line terminator or the end of the input sequence.
Changed line 17 from:
- (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)[1]
to:
- (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)
Changed line 21 from:
- Specifying this flag may impose a performance penalty.
to:
- Specifying this flag may impose a performance penalty.
June 30, 2007, at 02:37 PM
by 72.140.6.85 -
Changed line 17 from:
- Dotall mode can also be enabled via the embedded flag expression (?s). (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)[1]
to:
- (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)[1]
Deleted line 20:
- Unicode-aware case folding can also be enabled via the embedded flag expression (?u).
June 30, 2007, at 02:36 PM
by 72.140.6.85 -
Changed lines 3-4 from:
to:
Sun's JavaDoc for java.util.regex.Pattern[1]
June 30, 2007, at 02:35 PM
by 72.140.6.85 -
Added lines 3-8:
Pattern JavaDoc[1]
Sun's Guide To Regular Expressions in Java
Another Regex Guide
Added lines 10-22:
Use the following at the beginning of the regex for:
- (?i) case insensitive
- (?m) multiline mode
- By default, the regular expressions ^ and $ ignore line terminators and only match at the beginning and the end, respectively, of the entire input sequence. If MULTILINE mode is activated then ^ matches at the beginning of input and after any line terminator except at the end of input. When in MULTILINE mode $ matches just before a line terminator or the end of the input sequence.[1]
- (?s) dotall mode
- In dotall mode, the expression . matches any character, including a line terminator. By default this expression does not match line terminators.
- Dotall mode can also be enabled via the embedded flag expression (?s). (The s is a mnemonic for "single-line" mode, which is what this is called in Perl.)[1]
- (?u) unicode case
- Enables Unicode-aware case folding.
- When this flag is specified then case-insensitive matching, when enabled by the CASE_INSENSITIVE flag, is done in a manner consistent with the Unicode Standard. By default, case-insensitive matching assumes that only characters in the US-ASCII charset are being matched.
- Unicode-aware case folding can also be enabled via the embedded flag expression (?u).
- Specifying this flag may impose a performance penalty.
June 30, 2007, at 02:28 PM
by 72.140.6.85 -
Added lines 1-3:
See Regular Expressions for more information.
(:applet archive="regExpApplet-0.1.jar" code="com.supermathie.regexpapplet.RegExpApplet" width="800" height="400":)
June 30, 2007, at 02:25 PM
by 72.140.6.85 -
|