mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-03-06 05:50:21 +00:00
Minor regex fix
This commit is contained in:
parent
83570e6e7e
commit
f7217e767f
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ Ex: echo(reReplace("[0-9]", "123|456|789|12345678111111", "*"));
|
|||
#### reIterBegin(pattern, target)
|
||||
Begins a regular expression iterator through the target string, matching the input regular expression pattern. Use reIterNext to find all matching patterns and reIterEnd to determine if the iterator has ended.
|
||||
|
||||
Ex: echo(reIterBegin("[A-z]+\\|", "ONE|TWO|THREE|FOUR|FIVE"));
|
||||
Ex: echo(reIterBegin("[A-z]+\\|?", "ONE|TWO|THREE|FOUR|FIVE"));
|
||||
|
||||
#### reIterNext()
|
||||
Returns the next matching pattern in the input text specified in reIterBegin.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue