can you add a test with the discussed /(foo|^bar)/ as well?