Jonathan Baker
-
2010-01-27
- priority: 5 --> 7
- assigned_to: nobody --> djhaynes
When using the constant portion optimization for regular expressions, the case where there is a constant portion and no other regular expression characters should not be treated as if the equals operation was used. It should still be treated as a regular expression. For example, in the context of paths, the regular expression ‘^/’ should collect all paths that begin with '/', however, it currently only collects the path ‘/’ because the constant portion is being treated as if the equals operation was used.