| Summary: | bash-3.2_p15-r1: regular expression test broken | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Evert <evert.gentoo> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | martin |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Evert
2007-05-09 08:36:45 UTC
AFAIK this is intended behavior in bash 3.2 for quoted arguments: It matches for strings. $ [[ ^str =~ \^str ]] && [[ ! str =~ \^str ]] && [[ ^str =~ "^str" ]] && [[ ! str =~ "^str" ]] && [[ str =~ ^str ]] && echo all as expected all as expected *** This bug has been marked as a duplicate of bug 163527 *** |