Peter Ford wrote:
Michael A. Peters wrote:
I have absolutely no control over the source file.
The source file is an xml file (er, sort of, it doesn't follow any
particular DTD) and has a tag called VERBATIM_DATE in each record -
looks to be required in their output as every record so far has it
"Shawn McKenzie" wrote in message
news:e1.67.59347.e494c...@pb1.pair.com...
> bruce wrote:
>> hmmm...
>>
>> tried your preg__match/regex...
>>
>> i get:
>> 0 - 1145 total
>> 1 - 1145
>> 2 - l
>>
>> i would have thought that the 2nd array item should have had "total"...
>>
>
> Probably want this:
2009/2/6 Shawn McKenzie
> bruce wrote:
> > hmmm...
> >
> > tried your preg__match/regex...
> >
> > i get:
> > 0 - 1145 total
> > 1 - 1145
> > 2 - l
> >
> > i would have thought that the 2nd array item should have had "total"...
> >
>
> Probably want this: '#(\d+)(.+)#'
That's it sorry. Take a lo
bruce wrote:
> hmmm...
>
> tried your preg__match/regex...
>
> i get:
> 0 - 1145 total
> 1 - 1145
> 2 - l
>
> i would have thought that the 2nd array item should have had "total"...
>
Probably want this: '#(\d+)(.+)#'
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (ht
hmmm...
tried your preg__match/regex...
i get:
0 - 1145 total
1 - 1145
2 - l
i would have thought that the 2nd array item should have had "total"...
-Original Message-
From: Frank Stanovcak [mailto:blindspot...@comcast.net]
Sent: Friday, February 06, 2009 6:15 AM
To: php-general@lists
On 5/30/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
The op will need to use something other than forward slashes.
At 5/30/2007 03:26 PM, Jared Farrish wrote:
You mean the delimiters (a la Richard's suggestion about using '|')?
Hi Jared,
If the pattern delimiter character appears in the pat
On Fri, 1 Dec 2006, Kevin Murphy wrote:
> On Nov 30, 2006, at 7:50 PM, Jonesy wrote:
>> On Thu, 30 Nov 2006 14:16:16 -0800, Kevin Murphy wrote:
>>>
>>> I have some text that comes out of a database all in uppercase (old
>>> IBM Mainframe that only supports uppercase characters).
>>
>> I see via oth
On Nov 30, 2006, at 7:50 PM, Jonesy wrote:
On Thu, 30 Nov 2006 14:16:16 -0800, Kevin Murphy wrote:
I have some text that comes out of a database all in uppercase (old
IBM Mainframe that only supports uppercase characters).
I see via other followups that you have your kludge working. *But*
In that case you could use the /e trailing option to use strtolower on the
subpattern.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Thanks,
I weas reading on the php website under the preg_match functino and
people were saying that you had to excape the $ so that iw ould be
evaluated right. That's what got me confused.
- ---
Aaron Axelsen
AIM: AAAK2
Email: [EMAIL PROTECTED]
W
10 matches
Mail list logo