procmail
[Top] [All Lists]

Re: \[ works within [...] but \] doesn't

2003-11-15 18:17:00
On 15 Nov 2003, at 11:29, Bart Schaefer wrote:
The only way to quote a ']' within a character class is to place it at the beginning of the class. I'm pretty sure the same goes for a hypen as well

I believe the hyphen can be first OR last, no?

C = "[-]['/@#_!=,;: \\\"\`\$.*+?^()]"

That still doesn't match in ']'

--
The older you get the more you need the people you knew when you were young.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>