Re: circumflex/caret

Nico Kadel-Garcia <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Thomas Michael Hagen wrote:
> i just ran into a weird problem.
>
> a regex that i wrote on a 32-bit machine suddenly stopped working when 
> i ran it on a 64-bit machine.
>
> the regex: /^[[:lower:]][[:lower:]]\n/
>
> it is used in a syscall to ls
>
> with the caret removed, the regex behaves identically (wrongly) on 
> both machines (it matches the last two letters of all the subfolders 
> in the folder)
>
> with the caret, it works perfectly on the 32-bit machine (it matches 
> all the subfolders with two-letter names in the folder.
>
> on the 64-bit machine, however, it doesn't match anything.
>
> is this a known problem?
There's a big rewrite for 64-bit compatibility going on right now. Ger 
Hebbut's fork may work better for you right now.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.