Asterisk regex

Hi Folks!
I ´m trying to match a regular expresion but I don´t seem to be doing it quite right.
This is the code I´m trying:

exten => s,n,Set(ARG1=07108061)
exten => s,n,Set(group1=0[1-9]X)
exten => s,n,Set(junk1=${REGEX("${group1}" ${ARG1})})
exten => s,n,NoOp(${junk1})

ARG1 should match group1, but the result is junk1=0
Why isn´t junk1 = 1??

Any help apreciatted!!!

The regular expression is wrong. It should be this:

exten => s,n,Set(group1=0[1-9].*)

Thanks very much Angler!!!
Do you know where can I read more about regular expressions?
Because in TFOP (The future of telephony) I didn´t read about using “.*” instead of “X”…

You’re welcome. It’s just basic regular expressions. Google will turn up a lot of info.

Thanks again,
I will search in google then.