Skip to content

Instantly share code, notes, and snippets.

@aih
Created November 21, 2014 23:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aih/0e34c2fd79c008c8a790 to your computer and use it in GitHub Desktop.
Save aih/0e34c2fd79c008c8a790 to your computer and use it in GitHub Desktop.
Find Definitions within UK legislation
m = re.findall('[Ww]ords?\s+[\"\']\s*\w+\s*[\"\']\s+[Ss]hall.*?\.',x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment