[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Error in regexp in kjs_html.so
From:       Michael Bedy <mjbedy () mediaone ! net>
Date:       2001-03-17 3:46:25
[Download RAW message or body]


Hi,

  You said the following did not work:

regex=/\\/gi;

  This was, in fact, caused by a bug in a bug fix. (I'm pretty sure it's
my fault. I seem to remember putting the code in that is messing up.)

  If noone objects to the code below, I will apply the fix to CVS.

    - Mike


--- lexer.cpp   2001/03/07 11:36:28     1.25 
+++ lexer.cpp   2001/03/17 03:38:16 
@@ -730,7 +730,8 @@
      else if (current != '/' || lastWasEscape == true)
      {
          record16(current); 
-        lastWasEscape = (current == '\\'); 
+        lastWasEscape = 
+            !lastWasEscape && (current == '\\');
      }
      else {
       pattern = UString(buffer16, pos16);



On Thu, 15 Mar 2001, Otto Bruggeman wrote:

> On Wed, 14 Mar 2001, Michael Bedy wrote:
> >   Hi, 
> > 
> >   I'm back now, and am busy getting up to date with KDE stuff. I hope to
> > take a look at this this weekend.
> > 
> >     - Mike
> 
> Hi Mike,
> 
> hope you had a pleasant vacation... And no need to rush :) I lived without
> it a couple of months i can live without it a couple of more months if
> needed, it is just that the whole website is dependant on this
> java-script... But please take your time, i dont want you having to take
> another vacation very soon ;)
> 
> Otto
> 
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic