Segmentation SRX rules and regular expressions.
Problem:
It happens that user cannot upload SRX segmentation rules into the system since Wordbee platform reports that file is invalid.
Solution:
It might be because of incorrect regular expression specified in one of the rules.
For example user wants to catch ) sign by regex and forgot that this sign need to be escaped and the correct regex for this is \).
Always test your regular expressions using websites:
before you put them into SRX file. If you define a lot of regular expressions in your SRX file and then file will turn out to be invalid you will have to check expression by expression anyway, so it is better to do it sooner than later.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare