Hello.

I think that to match TC1234 YES you would need to write something like:
"^TC[:digit:]+ [:alpha:]+$".

With the regex "^TC" you will only be matching incoming messages with "TC" in its text.

Be sure to check out any regex reference, such as http://bama.ua.edu/cgi-bin/man-cgi?regex+5.


Thanks, but unfortunately it still falls into the default service.
Your suggestion is a better pattern match, but "^TC" should match
anything begging with TC, at least I think so.

I'm using this sms-service:
group = sms-service
keyword = web_service
keyword-regex = "[§]"
get-url = "http://localhost/get.php?keyword=%k&sender=%p&reason=3";

It works matching §POS§12345678


Poul

Reply via email to