Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^((?:disposition:|outcome:).*?(?:decisions?|judge?ments?|orders?) ?of(?: ?the)? ?(?:tax court|court of appeals).*?(?:affirmed in part and reversed in part|reversed in part and affirmed in part|affirmed in part and modified in part|affirmed in part|reversed in part|reversed|affirmed|vacated).*)(?:\.|;|,? ?and|,)(.*?(?:decisions?|judge?ments?|orders?|findings?) ?of(?: ?the)?.*?(?:bureau|court(?! of appeals)|board|department|commission).*?(?:affirmed in part and reversed in part|reversed in part and affirmed in part|affirmed in part and modified in part|affirmed in part|reversed in part|reversed|affirmed|vacated))
/
gmi

Description

Regex pattern (1/1) for function "def extract_appealscourt_dispo()" for Oregon.

This function extracts the part of the dispo relative to the court of appeals when dispo is reported relative to multiple courts.

Submitted by Joost Sijthoff - 4 years ago