logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Patch: Escaped octal in regexp needs a zero: msg#00070

Subject: Re: Patch: Escaped octal in regexp needs a zero
Sorry, that's \[1-7][0-7]+

It *may* be possible to further narrow it to \[1-7][0-7][0-7]+ if Ruby
requires escaped octals to have at least three digits...which it may.

- Charlie

On 1/25/06, Charles O Nutter <headius-miBPJv7AA1lBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> 
wrote:
> This fix adds a zero to everything that matches \[1-7][1-7]+ in a
> regular expression, which should all be escaped octal values. I think
> this gets around the issue David mentioned whereby we might
> accidentally add a zero to backrefs.
>
> Committed to cnutter_work1 already...necessary for Rails.
>
> - Charlie
>
>
>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642


<Prev in Thread] Current Thread [Next in Thread>