Hello, all!
My problem is:
I have a proc that parses strings with [tt]regexp[/tt] for "bad" characters(e.g. {\{\}\=\-\,\.} ). If found -> [tt]return 0[/tt], [tt]1[/tt] otherwise.
The question is: how can I get out if the string contains a [tt]"\n"[/tt] character?
I know - it is possible with [tt]scan[/tt], but the easier way for me were something, that could be added to a [tt]regexp[/tt] check.
Any ideas?
My problem is:
I have a proc that parses strings with [tt]regexp[/tt] for "bad" characters(e.g. {\{\}\=\-\,\.} ). If found -> [tt]return 0[/tt], [tt]1[/tt] otherwise.
The question is: how can I get out if the string contains a [tt]"\n"[/tt] character?
I know - it is possible with [tt]scan[/tt], but the easier way for me were something, that could be added to a [tt]regexp[/tt] check.
Any ideas?