Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 523 forks source link

Perl Documentation about quotemeta is conflicting #170

Closed p5pRT closed 20 years ago

p5pRT commented 24 years ago

Migrated from rt.perl.org#975 (status was 'resolved')

Searchable as RT975$

p5pRT commented 24 years ago

From g.cioffi@piemme.it

[...] NAME quotemeta - quote regular expression magic characters

DESCRIPTION

Returns the value of EXPR with all non-alphanumeric characters backslashed. (That is\, all characters not matching /[A-Za-z_0-9]/ will be preceded by a backslash in the returned string [...]

The point is that characters not matching /[A-Za-z_0-9]/ aren't regular expression magic characters... (doble quote is not\, equal sign is not\, etc. etc.)

Sorry if I posted this report in the wrong place\, but I didn't find any email address for perl documentation related things... And of course sorry if I'm wrong...

Thanks for you interest\, Giuliano