483 |
surrounding @samp{\( @dots{} \)} grouping can limit the grouping power of |
surrounding @samp{\( @dots{} \)} grouping can limit the grouping power of |
484 |
@samp{\|}.@refill |
@samp{\|}.@refill |
485 |
|
|
486 |
Full backtracking capability exists to handle multiple uses of |
If you need full backtracking capability to handle multiple uses of |
487 |
@samp{\|}, if you use the POSIX regular expression functions |
@samp{\|}, use the POSIX regular expression functions (@pxref{POSIX |
488 |
(@pxref{POSIX Regexps}). |
Regexps}). |
489 |
|
|
490 |
@item \@{@var{m}\@} |
@item \@{@var{m}\@} |
491 |
is a postfix operator that repeats the previous pattern exactly @var{m} |
is a postfix operator that repeats the previous pattern exactly @var{m} |
959 |
match, as required by POSIX. This is much slower, so use these |
match, as required by POSIX. This is much slower, so use these |
960 |
functions only when you really need the longest match. |
functions only when you really need the longest match. |
961 |
|
|
962 |
|
The POSIX search and match functions do not properly support the |
963 |
|
non-greedy repetition operators. This is because POSIX backtracking |
964 |
|
conflicts with the semantics of non-greedy repetition. |
965 |
|
|
966 |
@defun posix-search-forward regexp &optional limit noerror repeat |
@defun posix-search-forward regexp &optional limit noerror repeat |
967 |
This is like @code{re-search-forward} except that it performs the full |
This is like @code{re-search-forward} except that it performs the full |
968 |
backtracking specified by the POSIX standard for regular expression |
backtracking specified by the POSIX standard for regular expression |