not: Do not match

Description Usage Arguments See Also

View source: R/wildcards.R

Description

Do not match

Usage

1
not(..., type = c("greedy", "lazy", "possessive"))

Arguments

...

shortcuts, R variables, text, or other rex functions.

type

the type of match to perform.

There are three match types

  1. greedy: match the longest string. This is the default matching type.

  2. lazy: match the shortest string. This matches the shortest string from the same anchor point, not necessarily the shortest global string.

  3. possessive: match and don't allow backtracking

See Also

Other rex: %or%(), capture(), character_class(), counts, group(), lookarounds, rex(), shortcuts, wildcards


rex documentation built on Nov. 26, 2021, 5:21 p.m.