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

Owner: Nobody in particular
Requestors: james2vegas [...]

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

Subject: Should be more like sh(1) and less like glob(3)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 652
Download (untitled) / with headers
text/plain 652b
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 !

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to