Difference between revisions of "Regular expression syntax (unsupported)"

From EditPlus Wiki
Jump to: navigation, search
(Deleting Spam)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
The following page describes some common regular expression syntax/operators not available in EditPlus. Please see [[Regular expression syntax]] for supported options and [[Regular Expressions]] for examples of regular expressions commonly used in EditPlus.
+
#REDIRECT[[Regular expression syntax#Operators and Syntax Not Supported in EditPlus]]
 
+
 
+
==Operators and Syntax Not Supported in EditPlus==
+
; ''foo''{''num''} : match ''foo'' exactly ''num'' times
+
; ''foo''{''min'', ''max''} : match ''foo'' at least ''min'' and at most ''max'' times, both optional
+
; \a : 0x07, BEL
+
; \f : 0x0C, formfeed
+
; \r : 0x0D, carriage return, see \n
+
; \e : 0x1B, ESC
+
; \x''foo'' : 0x''foo'', hexadecimal character reference
+
; \c''foo'' : control-''foo''
+
; \s : whitespace character, use [ \t\n]
+
; \S : non-whitespace character, use [^ \t\n]
+
; \d : decimal digit, use [0-9]
+
; \D : not a decimal digit, use [^0-9]
+
; \w : ''word'' character, letter, for English use [A-z]
+
; \W : non-''word'' character, non-letter, for English use [^A-z]
+
; <nowiki>[[:alpha:]], [[:lower:]], [[:upper:]], [[:alnum:]], [[:digit:]], [[:xdigit:]], [[:punct:]], [[:graph:]], [[:print:]], [[:blank:]], [[:space:]]</nowiki> : predefined character classes (POSIX)
+
; \b : word boundary (assertion)
+
; \B : not a word boundary (assertion)
+
; \A : subject start (assertion), use ^
+
; \Z : subject end (assertion), use [\n$]
+
; \z : subject end (assertion), use $
+
; assertions other than ^ and $ : parts of patterns that are not added to matches:
+
; (?=''foo'') : positive assertion
+
; (?!''foo'') : negative assertion
+
; (?<=''foo''), (?<!''foo'') : look-behind assertion
+
; (?>=''foo''), (?>!''foo'') : look-ahead assertion, once-only sub-pattern
+
; (?(''foo'')''true''), (?(''foo'')''true''|''false'') : conditional sub-pattern, ''foo'' being either the number of a sub-pattern or an assertion
+
; (?<nowiki>:</nowiki>''foo'') : grouping, non-referencable
+
; (?i''foo''), (?m''foo''), (?s''foo''), (?x''foo'') : inline modifiers
+
; (?R) : recursive pattern
+
; (?#''foo'') : comment
+

Latest revision as of 23:25, 15 February 2008