Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I cannot make text comparison to work with regex.
I set in "Two texts to compare: *
- [XX] in the first text field - the token I want to evaluate
- ^(?=\d*[1-9])\d+$ in the second text field as the regex pattern that the first shal match (only digits, at leat one different of 0)
The regex works in test, I ticked "Evaluate the second text as a regular expression."
What am I missing?
Thanks for help
Comments
Comment #1
TR CreditAttribution: TR commented