-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 60627df
Showing
43 changed files
with
13,147 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="Refresh" content="0; url=regex.html" /> | ||
</head> | ||
<body> | ||
<p>Please follow <a href="regex.html">this link</a>.</p> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
reNonCapture regex.html#reNonCapture regex: reNonCapture | ||
rex regex.html#rex,string regex: rex(s: string): RegexLit | ||
re2 regex.html#re2,string,RegexFlags regex: re2(s: string; flags: RegexFlags = {}): Regex2 | ||
re2 regex.html#re2,staticstring,staticRegexFlags regex: re2(s: static string; flags: static RegexFlags = {}): static[Regex2] | ||
group regex.html#group,RegexMatch2,int regex: group(m: RegexMatch2; i: int): Slice[int] | ||
group regex.html#group,RegexMatch2,string regex: group(m: RegexMatch2; s: string): Slice[int] | ||
groupsCount regex.html#groupsCount,RegexMatch2 regex: groupsCount(m: RegexMatch2): int | ||
groupNames regex.html#groupNames,RegexMatch2 regex: groupNames(m: RegexMatch2): seq[string] | ||
match regex.html#match.m,string,RegexLit,untyped regex: match(text: string; regex: RegexLit; body: untyped): untyped | ||
match regex.html#match,string,Regex2,RegexMatch2,int regex: match(s: string; pattern: Regex2; m: var RegexMatch2; start = 0): bool | ||
match regex.html#match,string,Regex2 regex: match(s: string; pattern: Regex2): bool | ||
findAll regex.html#findAll.i,string,Regex2,int regex: findAll(s: string; pattern: Regex2; start = 0): RegexMatch2 | ||
findAll regex.html#findAll,string,Regex2,int regex: findAll(s: string; pattern: Regex2; start = 0): seq[RegexMatch2] | ||
findAllBounds regex.html#findAllBounds.i,string,Regex2,int regex: findAllBounds(s: string; pattern: Regex2; start = 0): Slice[int] | ||
findAllBounds regex.html#findAllBounds,string,Regex2,int regex: findAllBounds(s: string; pattern: Regex2; start = 0): seq[Slice[int]] | ||
find regex.html#find,string,Regex2,RegexMatch2,int regex: find(s: string; pattern: Regex2; m: var RegexMatch2; start = 0): bool | ||
contains regex.html#contains,string,Regex2 regex: contains(s: string; pattern: Regex2): bool | ||
split regex.html#split.i,string,Regex2 regex: split(s: string; sep: Regex2): string | ||
split regex.html#split,string,Regex2 regex: split(s: string; sep: Regex2): seq[string] | ||
splitIncl regex.html#splitIncl,string,Regex2 regex: splitIncl(s: string; sep: Regex2): seq[string] | ||
startsWith regex.html#startsWith,string,Regex2,int regex: startsWith(s: string; pattern: Regex2; start = 0): bool | ||
endsWith regex.html#endsWith,string,Regex2 regex: endsWith(s: string; pattern: Regex2): bool | ||
replace regex.html#replace,string,Regex2,string,int regex: replace(s: string; pattern: Regex2; by: string; limit = 0): string | ||
replace regex.html#replace,string,Regex2,proc(RegexMatch2,string),int regex: replace(s: string; pattern: Regex2;\n by: proc (m: RegexMatch2; s: string): string; limit = 0): string | ||
isInitialized regex.html#isInitialized,Regex2 regex: isInitialized(re: Regex2): bool | ||
escapeRe regex.html#escapeRe,string regex: escapeRe(s: string): string | ||
re regex.html#re,string regex: re(s: string): Regex | ||
re regex.html#re,staticstring regex: re(s: static string): static[Regex] | ||
toPattern regex.html#toPattern,string regex: toPattern(s: string): Regex | ||
group regex.html#group.i,RegexMatch,int regex: group(m: RegexMatch; i: int): Slice[int] | ||
group regex.html#group,RegexMatch,int regex: group(m: RegexMatch; i: int): seq[Slice[int]] | ||
group regex.html#group,RegexMatch,int,string regex: group(m: RegexMatch; i: int; text: string): seq[string] | ||
groupFirstCapture regex.html#groupFirstCapture,RegexMatch,int,string regex: groupFirstCapture(m: RegexMatch; i: int; text: string): string | ||
groupLastCapture regex.html#groupLastCapture,RegexMatch,int,string regex: groupLastCapture(m: RegexMatch; i: int; text: string): string | ||
group regex.html#group.i,RegexMatch,string regex: group(m: RegexMatch; s: string): Slice[int] | ||
group regex.html#group,RegexMatch,string regex: group(m: RegexMatch; s: string): seq[Slice[int]] | ||
group regex.html#group,RegexMatch,string,string regex: group(m: RegexMatch; groupName: string; text: string): seq[string] | ||
groupFirstCapture regex.html#groupFirstCapture,RegexMatch,string,string regex: groupFirstCapture(m: RegexMatch; groupName: string; text: string): string | ||
groupLastCapture regex.html#groupLastCapture,RegexMatch,string,string regex: groupLastCapture(m: RegexMatch; groupName: string; text: string): string | ||
groupsCount regex.html#groupsCount,RegexMatch regex: groupsCount(m: RegexMatch): int | ||
groupNames regex.html#groupNames,RegexMatch regex: groupNames(m: RegexMatch): seq[string] | ||
match regex.html#match,string,Regex,RegexMatch,int regex: match(s: string; pattern: Regex; m: var RegexMatch; start = 0): bool | ||
match regex.html#match,string,Regex regex: match(s: string; pattern: Regex): bool | ||
findAll regex.html#findAll.i,string,Regex,int regex: findAll(s: string; pattern: Regex; start = 0): RegexMatch | ||
findAll regex.html#findAll,string,Regex,int regex: findAll(s: string; pattern: Regex; start = 0): seq[RegexMatch] | ||
findAllBounds regex.html#findAllBounds.i,string,Regex,int regex: findAllBounds(s: string; pattern: Regex; start = 0): Slice[int] | ||
findAllBounds regex.html#findAllBounds,string,Regex,int regex: findAllBounds(s: string; pattern: Regex; start = 0): seq[Slice[int]] | ||
findAndCaptureAll regex.html#findAndCaptureAll,string,Regex regex: findAndCaptureAll(s: string; pattern: Regex): seq[string] | ||
contains regex.html#contains,string,Regex regex: contains(s: string; pattern: Regex): bool | ||
find regex.html#find,string,Regex,RegexMatch,int regex: find(s: string; pattern: Regex; m: var RegexMatch; start = 0): bool | ||
split regex.html#split.i,string,Regex regex: split(s: string; sep: Regex): string | ||
split regex.html#split,string,Regex regex: split(s: string; sep: Regex): seq[string] | ||
splitIncl regex.html#splitIncl,string,Regex regex: splitIncl(s: string; sep: Regex): seq[string] | ||
startsWith regex.html#startsWith,string,Regex,int regex: startsWith(s: string; pattern: Regex; start = 0): bool | ||
endsWith regex.html#endsWith,string,Regex regex: endsWith(s: string; pattern: Regex): bool | ||
replace regex.html#replace,string,Regex,string,int regex: replace(s: string; pattern: Regex; by: string; limit = 0): string | ||
replace regex.html#replace,string,Regex,proc(RegexMatch,string),int regex: replace(s: string; pattern: Regex; by: proc (m: RegexMatch; s: string): string;\n limit = 0): string | ||
isInitialized regex.html#isInitialized,Regex regex: isInitialized(re: Regex): bool | ||
Syntax regex.html#syntax Syntax | ||
Matching one character regex.html#syntax-matching-one-character Matching one character | ||
Character classes regex.html#syntax-character-classes Character classes | ||
Composites regex.html#syntax-composites Composites | ||
Repetitions regex.html#syntax-repetitions Repetitions | ||
Empty matches regex.html#syntax-empty-matches Empty matches | ||
Grouping and flags regex.html#syntax-grouping-and-flags Grouping and flags | ||
Escape sequences regex.html#syntax-escape-sequences Escape sequences | ||
Perl character classes (Unicode friendly) regex.html#syntax-perl-character-classes-unicode-friendly Perl character classes (Unicode friendly) | ||
ASCII character classes regex.html#syntax-ascii-character-classes ASCII character classes | ||
Lookaround Assertions regex.html#syntax-lookaround-assertions Lookaround Assertions | ||
Examples regex.html#examples Examples | ||
Match regex.html#examples-match Match | ||
Captures regex.html#examples-captures Captures | ||
Find regex.html#examples-find Find | ||
Find All regex.html#examples-find-all Find All | ||
Verbose Mode regex.html#examples-verbose-mode Verbose Mode | ||
Match Macro regex.html#examples-match-macro Match Macro | ||
Invalid UTF-8 input text regex.html#examples-invalid-utfminus8-input-text Invalid UTF-8 input text | ||
Match arbitrary bytes regex.html#examples-match-arbitrary-bytes Match arbitrary bytes | ||
Compile the regex at compile time regex.html#examples-compile-the-regex-at-compile-time Compile the regex at compile time | ||
Compile the regex at runtime regex.html#examples-compile-the-regex-at-runtime Compile the regex at runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#keep |
Oops, something went wrong.