extract_pattern: Extract patterns from larger documents
Description
This function loads a file and scans it for a given keyword which signposts
the beginning and end of a pattern. It then extracts all the text between the
keywords for manipulation as a pattern. For extracting multiple patterns at
once from a single file, check out extract_draft.