Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

r"
^((?:outcome|disposition):(?: ?the)? ?judgments? ?of(?: ?the)? ?court ?of ?appeals.*?)(?:(?:\.|;|:|,? ?and|,)?(?: ?the)? judgments? of(?: ?the)?.*(?:trial|circuit|chancery) court)
"
gmi

Description

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

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 (Last modified 4 years ago)