"Dr. Ing. Roland Krause" <[EMAIL PROTECTED]> writes:
| Ok while we are at it, what is LSubstring intended for in the first place? It
| can not be in heavy use
| afaik, I believe there are four files, LaTeX.C, chset.C, vc-backend.C and
| LSubstring.[Ch]where it is used.
| I think it was intended to integrate LRegex right? Otherwise it wouldnt make
| much sense indeed.
| You can do everything with find() and replace()
sure you can. but the notation is not always nice.
| I also believe the following constructor:
|
| LSubstring::LSubstring(string & s, LRegex const & r)
| should set n and pos to string::npos if the LRegex wasnt found.
Yupp, agree, Fixed. to set n to string::npos is not needed, only pos
matters.
Lgb