When configuring or searching for a group of URLs within the context of a test, you can use regular expressions if these URLs share the same structure.
Regular expressions can be used in the following cases:
- Configuring a Redirect/Split test
- Defining target pages
- Adding Landing page or Previous page type targeting criteria
The AB Tasty platform operates with MySQL. MySQL uses Henry Spencer's implementation of regular expressions, which is aimed at conformance with the POSIX 1003.2 standard. MySQL uses the extended version to support pattern-matching operations performed with the REGEXP operator in SQL statements.
Some regular expressions are not supported by MySQL. Therefore, you will not be able to use these expressions with AB Tasty.
- \W (exclude all alphanumeric characters including underscores (_))
- \w (search for all alphanumeric characters including underscores (_))
Furthermore, you will not be able to use regular expressions for URLs that contain a # character.
In the example below, a search by color is impossible because your URLs are constructed as follows: https://mystore.com/men/product123.html#color=456.