Re: Bug in Safari Javascript?
- From: RobG <rgqld@xxxxxxxxxxxx>
- Date: Wed, 11 Jul 2007 00:07:52 -0700
On Jul 11, 1:53 pm, ron.h.h...@xxxxxxxxx wrote:
On Jul 10, 8:17 pm, RobG <r...@xxxxxxxxxxxx> wrote:
On Jul 11, 12:22 pm, ron.h.h...@xxxxxxxxx wrote:
On Jul 10, 8:32 am, RobG <r...@xxxxxxxxxxxx> wrote:
Zwerfkat wrote:<..>
If what you are after is a non-greedy version of a repeating pattern, shift the ? outside the
parenthesis and use:
/(Hello[^A]*)?\s*$/
This is not what I am after. Moreover, the result will be "Hello world " including the space at the
end and that's not what I had in mind.
Did you test that? I did. Neither Firefox, Safari or Opera include any
spaces after world - the ? is immediately before \s which seems to be
what you wanted. I haven't tested IE.
You may want to try your tests again.
I can do them a thousand times, but computers being what they are,
given the same input and processing instructions they keep giving the
same result. :-)
Even so, sometimes mistakes are made in reading test results,
especially when spaces are involved. But I see through your further
explanation, the problem was ... they weren't. ;-)
Yes - GI, GI. :-x
--
Rob
.
- References:
- Bug in Safari Javascript?
- From: Zwerfkat
- Re: Bug in Safari Javascript?
- From: RobG
- Re: Bug in Safari Javascript?
- From: Zwerfkat
- Re: Bug in Safari Javascript?
- From: RobG
- Re: Bug in Safari Javascript?
- From: ron . h . hall
- Re: Bug in Safari Javascript?
- From: RobG
- Re: Bug in Safari Javascript?
- From: ron . h . hall
- Bug in Safari Javascript?
- Prev by Date: Re: opacity fading
- Next by Date: Re: Redirection if referrer is invalid
- Previous by thread: Re: Bug in Safari Javascript?
- Next by thread: Textarea
- Index(es):
Relevant Pages
|