Predefined zero-width assertions

Zero-width Assertion

Description



Asserts a word boundary

B

Asserts anywhere except at a word boundary

^

Asserts position only at the beginning of a line

$

Asserts position only at the end of a line

A

Asserts position only at the beginning of a string

z

Asserts position only at the end of a string



Asserts position only at the end of a string or before the line break at the end of a string (if present)

G

Asserts position at the end of the previous match or at the start of the string for the very first match

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.68.159