Implementing a More Powerful Regular Expression Engine