[xml] Failure Index Query in RegxpExec


In the case of FaRegxpExec function suppose I give an arbitrarily long input string for the grammar :-


Ideally I suppose the execution should stop at 10 and return failure in case of an input more than the range, however the exec->index keeps moving to the end of the input

string. In case of very long strings, avoiding this might be helpful.

Also is there any way to catch hold of the index where the matching fails?









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]