Tobi,
> This sounds interesting, because for one thing I can't imagine a pipe
chain
> of "sed" invocations to take this long on just 500 KiB input (but I could
> be wrong).
"sed" does it in a lightning fast way.
For instance, sed 's/[^.:;,?!]//g' About your regular expressions: I think the key po
On Wed, 31 May 2017, Fernando Cabral wrote:
> This is only for those who like to work with regular expressions.
> It is a performance issue. I am using 26 different regular expressions of
> this kind:
>
> txt = RegExp.Replace(TextoBruto, NaoNumerais, "&1\n", RegExp.UTF8)
> txt = RegExp.Replace(Txt
This is only for those who like to work with regular expressions.
It is a performance issue. I am using 26 different regular expressions of
this kind:
txt = RegExp.Replace(TextoBruto, NaoNumerais, "&1\n", RegExp.UTF8)
txt = RegExp.Replace(Txt, "\n\n+?", "\n", RegExp.UTF8)
txt = RegExp.Replace(Txt,