Allow the RegexBuilderWindow to insert the regular expression by pressing Enter, istead of clicking the OK button.