« Return to Thread: Unable to update stock prices

Re: Unable to update stock prices

by Midahed :: Rate this Message:

| View in Thread

Thomas Baumgart wrote:
On Sunday 16 November 2008 20:09:42 Midahed wrote:
> Thomas Baumgart wrote:

[...]

> I'd understood the general principles of RE OK and, now that you've
> confirmed that I'm on the right general track, I'll do some more
> experimenting using your suggestion as a base.  However, I still don't
> understand the RE that's used to extract the symbol:-
>
> "([^,"]*)",.*

My stock Yahoo UK entry says:

"?([^,"]*)"?,.*

for the symbol, and there the quotes are optional
Ah, that makes more sense.  But my version definitely doesn't have the question marks - yet it works without quotes being present in the source data.  That's weird.  Oh well, I think I'll just add the question marks - it makes more sense that way.

Thanks again for your help.

Mike

 « Return to Thread: Unable to update stock prices