Skip Menu |

This queue is for tickets about the Regexp-Shellish CPAN distribution.

Report information
The Basics
Id: 42519
Status: new
Priority: 0/
Queue: Regexp-Shellish

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Should be more like sh(1) and less like glob(3)
Regexp::Shellish supports *,?,**,...,{} and [] but that is more like glob(3) or fnmatch(3), not sh(1), specifically it leaves out: *(pattern|...|pattern) => pattern|...|pattern)* +(pattern|...|pattern) => (pattern|...|pattern)+ ?(pattern|...|pattern) => (pattern|...|pattern)? @(pattern|...|pattern) => (pattern|...|pattern) !(pattern|...|pattern) => (?!(?:pattern|...|pattern) ... almost (these could be turned off by default and enabled when option extglob is set, a la bash) in addition it passes (pattern|...|pattern) through unmodified by default when it should assume parens=>0 unless the parentheses are preceded by *,+,?,@ or !