Removed xregexp dependency