A
asadikhan
Hi,
I want to create a regular expression. I have come up with something
like this:
Scan*ValRel(QualValRel)*
which basically means that I should see:
zero or more of "Scan"
exactly one of "Val"
exactly one of "Rel"
zero or more of "ScanValRel"
however I can't seem to get this right. I used Expresso as well to try
to come up with the right expression. The closest I got was:
(Scan)*(Val)(Rel)(QualValRel)*
but this allows
ScanValValRel (as it finds ValRel as part of this string). I don't want
it to do that.
As specified above, I want to find exactly one of Val (no more) etc.
How do I do this?
I want to create a regular expression. I have come up with something
like this:
Scan*ValRel(QualValRel)*
which basically means that I should see:
zero or more of "Scan"
exactly one of "Val"
exactly one of "Rel"
zero or more of "ScanValRel"
however I can't seem to get this right. I used Expresso as well to try
to come up with the right expression. The closest I got was:
(Scan)*(Val)(Rel)(QualValRel)*
but this allows
ScanValValRel (as it finds ValRel as part of this string). I don't want
it to do that.
As specified above, I want to find exactly one of Val (no more) etc.
How do I do this?