Python Regex Dictionary Search
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dictionaries
.gitattributes
.gitignore
LICENSE
README.md
RegexDictionarySearch.py
manual.txt
xkcd-regular_expressions.png

README.md

Python Regex Dictionary Search

This scripts extracts word entries from dictionary files and then allows regex searches to be performed on those entries. The results of the searches are both shown in the console and written to lastmatches.txt.

Empty input either exits the script (when in dictionary selection mode) or goes back to dictionary selection.

Dictionaries can be added by simply adding the corresponding names and extraction expressions to the dictionaries array. Encode the files in UTF-8 without BOM.