support for named capturing groups - fixes #1
fixed a stupid string comparison bug: only comparing first string char
added some helpers to display binary data
prevent infinite loop when trying to replace an ampty pattern - fixes #5