Page 1 of 1

regex error?

Posted: Tue Mar 22, 2005 6:25 pm
by HPW
I get the following error.
Did it come form newLISP? (Not in the doc)

Code: Select all

(regex "*@0@*" "1@0@120" )

regular expression in function regex : "offset 0 nothing to repeat:"
What can be wrong?
Has the @ a special meaning?

(The syntax @0@... comes from a rule database from our ERP system)

Posted: Tue Mar 22, 2005 6:28 pm
by HPW
Oops, I think I get it:

Code: Select all

> (regex ".*@0@.*" "1@0@120" )
("1@0@120" 0 7)
Anyway: Did it come form newLISP? (Not in the doc)