[Bug 109931] Re: bash regexes no longer working in Feisty

2007-04-25 Thread Johnathon
The feisty move upgraded bash from Bash 3.1 to 3.2. Would this have had an effect on your script? (i.e. has the regex stuff been changed in the newer bash?) ** Changed in: bash (Ubuntu) Status: Unconfirmed = Needs Info -- bash regexes no longer working in Feisty

[Bug 109931] Re: bash regexes no longer working in Feisty

2007-04-25 Thread Robert
Well, it looks like that did affect it, according to a http://en.wikipedia.org/wiki/Bash#In-process_regular_expressions Basically, the single quotes surrounding the regex become part of the regex. So the above code becomes: if [[ foo.tex =~ ^(.*)\.tex$ ]] then

[Bug 109931] Re: bash regexes no longer working in Feisty

2007-04-25 Thread Robert
The release notes at http://www.ubuntu.com/getubuntu/releasenotes/704 do not mention anything about an upgrade to Bash 3.2. They should be amended to note this. ** Summary changed: - bash regexes no longer working in Feisty + Feisty Release Notes should note upgrade to Bash 3.2 changes regex