Public bug reported: Binary package hint: bash
The following regular expression should work in bash (and used to work in Edgy), but no longer does: if [[ "foo.tex" =~ '^(.*)\.tex$' ]] then file=${BASH_REMATCH[1]} echo "File is: $file" else echo "Not a TeX file" fi It appears that regular expressions using the dot, star, carat and dollar-sign metacharacters no longer work. ** Affects: bash (Ubuntu) Importance: Undecided Status: Unconfirmed -- bash regexes no longer working in Feisty https://bugs.launchpad.net/bugs/109931 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs