Skip to content

atomicPattern

strings · scripts/strings/atomicPattern.m

ATOMICPATTERN  Atomic (non-backtracking) pattern group.
  newpat = atomicPattern(pat) wraps PAT so a successful match of PAT is
  committed and cannot be undone by later failure.  Nexus maps this to
  the PCRE atomic group (?>...), matching possessivePattern semantics.