Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
\[3\] = {[\s]+title = [^\n]+[\s]+args = {\n(([\s]*{[^\n]+\n)*)[\s]*},[\s]+icon = [\d]+[\s]+},
/
gm

Description

Matches spells abilities from WeakAura TriggerTemplateData lua file for World of Warcraft.

Submitted by anonymous - 4 years ago