Regular Expressions 101

Community Patterns

1...456

SAS Boundaries version 3

0

Regular Expression
PCRE (PHP <7.3)

/
(?:\A|;)(?:\s*)((?:%macro |%inc(?:lude)?\b|data |proc )[^;]+)
/
g

Description

Basic sas boundaries, %macro proc %include etc

Submitted by Leo Lopes - 9 years ago