omniti-labs/pg_extractor — pull request #5 by jobywalker (2012-03-15 05:18:15+00:00)
Title: Update Type matching to prevent errors

Change Type regex to limit to the type only (instead as the type and the... rest of the line) and correct following regexes to prevent false matches -- COMMENTS of subtype VIEW, TYPE, or SCHEMA were matching the /^TABLE|VIEW|TYPE|SCHEMA/ regex because the ^ was only applied to the TABLE option not the other options.