Right, I think I see where the issue is in the regex code. I have made a change which returns the expected results for your regex examples. I have added these to my unit tests. This change will be in the next beta.