Hi all,

Is this a glob() bug, or am I overlooking something obvious?
"perldoc -f glob" didn't help.  TIA.

The ".[0-9]*[0-9]" is globbed correctly when it is not
inside braces.

> % touch a ab abcd a.777
> %
> % perl -le \
>   'print for glob("a{,b,b*d,.[0-9]*[0-9]}"), "---", glob("a.[0-9]*[0-9]")'
> a
> ab
> abcd
> ---
> a.777
> %
> % perl -v | g v5
> This is perl, v5.8.3 built for x86_64-linux
> %

peace,                  || Ben Cohen tells us about Oreo cookies:
--{kr.pA}               || http://www.truemajorityaction.org/oreos/
-- 
Ignorance is bliss.  Zen contra-positive: Suffering is knowledge.
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to