public inbox for glibc-bugs-regex@sourceware.org help / color / mirror / Atom feed
From: "gzljg at hotmail dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs-regex@sources.redhat.com Subject: [Bug regex/10106] New: one or more match problem? Date: Mon, 27 Apr 2009 15:05:00 -0000 [thread overview] Message-ID: <20090427150536.10106.gzljg@hotmail.com> (raw) I try to get a non-empty string that separated by a comma(,) for example, for the line : ,ABC, /// --> I want to get "ABC" for the line : ,, /// --> I want to report a 'not match' So I try to use the regular expression as : ,\([^,]+\), this wouldn't match though? I had to change to ",\([^,]*\)," but then this would also match a "empty" string in case 2 above. Any idea? -- Summary: one or more match problem? Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: regex AssignedTo: drepper at redhat dot com ReportedBy: gzljg at hotmail dot com CC: glibc-bugs-regex at sources dot redhat dot com,glibc- bugs at sources dot redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10106 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next reply other threads:[~2009-04-27 15:05 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-27 15:05 gzljg at hotmail dot com [this message] 2009-04-27 15:20 ` [Bug regex/10106] " drepper at redhat dot com 2009-04-27 15:29 ` bonzini at gnu dot org 2009-04-27 15:48 ` gzljg at hotmail dot com 2009-04-27 15:52 ` gzljg at hotmail dot com 2009-04-27 16:08 ` jakub at redhat dot com 2009-04-27 17:30 ` gzljg at hotmail dot com 2009-04-28 15:31 ` gzljg at hotmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090427150536.10106.gzljg@hotmail.com \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs-regex@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).