File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -295,11 +295,12 @@ The special characters are:
295295 match at the beginning of the string being searched.
296296
297297``(?(id/name)yes-pattern|no-pattern) ``
298- Will try to match with ``yes-pattern `` if the group with given *id * or *name *
299- exists, and with ``no-pattern `` if it doesn't. ``no-pattern `` is optional and
300- can be omitted. For example, ``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>) `` is a poor email
301- matching pattern, which will match with ``'<user@host.com>' `` as well as
302- ``'user@host.com' ``, but not with ``'<user@host.com' ``.
298+ Will try to match with ``yes-pattern `` if the group with given *id * or
299+ *name * exists, and with ``no-pattern `` if it doesn't. ``no-pattern `` is
300+ optional and can be omitted. For example,
301+ ``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>|$) `` is a poor email matching pattern, which
302+ will match with ``'<user@host.com>' `` as well as ``'user@host.com' ``, but
303+ not with ``'<user@host.com' `` nor ``'user@host.com>' `` .
303304
304305
305306The special sequences consist of ``'\' `` and a character from the list below.
You can’t perform that action at this time.
0 commit comments