newLISP Fan Club

Forum => newLISP in the real world => Topic started by: HPW on March 22, 2005, 10:25:50 AM

Title: regex error?
Post by: HPW on March 22, 2005, 10:25:50 AM
I get the following error.

Did it come form newLISP? (Not in the doc)



(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)
Title:
Post by: HPW on March 22, 2005, 10:28:04 AM
Oops, I think I get it:



> (regex ".*@0@.*" "1@0@120" )
("1@0@120" 0 7)


Anyway: Did it come form newLISP? (Not in the doc)