Skip to main content

7 docs tagged with "Assertion"

View All Tags

(?<!abc)n

(?<!abc)n is defined as: Negative Lookbehind to match n only if abc not exist before. Topics on: . Read more: JS, JS Language, Object, Reg Exp, Reg Exp Syntax,

(?<=abc)n

(?<=abc)n is defined as: Positive Lookbehind Assertion to match n only if abc exists before. Topics on: . Read more: JS, JS Language, Object, Reg Exp, Reg Exp S

\
b

\
b is defined as: RegExp Assertion to match only at boundary of word (beginning or end of word). Topics on: ⚠ \b also stands for escaped backspace.

Assertion

Assertion is defined as: RegExp Syntax to define boundary of lines/words. Topics on: ^, $, |, \b, \B, n(?=abc), n(?!abc), (?<=abc)n, (?<!abc)n. Read more: JS,

Flag

Flag is defined as: optional modifier for RegExp to config how Assertion behave on patterns. Topics on: g, i, m, d, s, u, y, Greedy, Lazy, Reluctant. Read more:

n(?!abc)

n(?!abc) is defined as: Negative Lookahead to match n only if abc not exist ahead. Topics on: . Read more: JS, JS Language, Object, Reg Exp, Reg Exp Syntax, Reg

n(?=abc)

n(?=abc) is defined as: Positive Lookahead to match n only if abc exists ahead. Topics on: . Read more: JS, JS Language, Object, Reg Exp, Reg Exp Syntax, Regexp