From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 13 Jul 2010 17:31:16 +0200 Message-ID: From: hugo rivera To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] regexp doubt Topicbox-Message-UUID: 3ea35882-ead6-11e9-9d60-3106f5b1d025 both of them yield a regexp: malformed `[]' error. I forgot to mention and I had an alternative solution from the beginning /stat[abc]?([ ;]|-)/ I'm just wondering the reason the original version failed. 2010/7/13 Rodolfo (kix) : > Can you try: > > /stat[abc]?[ ;\\-]/ > > I am not sure (and I do not have acme here), but probably the problem > is with the backslash. > > You can try this too: > > /stat[abc]?[ ;-]/ > -- Hugo