Brook Davies wrote:

> I am having some server issues with my server reporting NULL NULL and
> JavaOutofMemory Errors. This happened to me before and it was specifically
> caused by some bad regEx when parsing very large strings. Since it is
> happening again, I am looking at the regex usage in the app. Does this look
> like a greedy RegEx?

No.

> Anyway to change it to make it more friendly?
>
> rereplace(myVar,"[[:space:]][[:space:]]*"," ","all")

rereplace(myVar,"[[:space:]]+"," ","all")

Jochem

--
I don't get it
immigrants don't work
and steal our jobs
     - Loesje
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to