Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1962
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | mike <mikaelpetterson@hotmail.com> |
| Newsgroups | comp.lang.java.help |
| Subject | Regexp help |
| Date | Tue, 7 Aug 2012 07:03:14 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 24 |
| Message-ID | <3e0aa0ea-bdb5-4cd5-bdae-4fcd31c70a7f@googlegroups.com> (permalink) |
| NNTP-Posting-Host | 194.237.142.20 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1344348194 2764 127.0.0.1 (7 Aug 2012 14:03:14 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Tue, 7 Aug 2012 14:03:14 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=194.237.142.20; posting-account=1c_fOgoAAADuOXlL0A4-T9PUmVHtMSYd |
| User-Agent | G2/1.0 |
| X-Received-Bytes | 1375 |
| Xref | csiph.com comp.lang.java.help:1962 |
Show key headers only | View raw
Hi,
I have the following:
Input 1: Needs Merge "." [(automatic) to \main\2 from \main\rel1\2 (base also \main\2)]
Input 2: Needs Merge "./update" [to /main/4 from /main/bugfix/1 base /main/2]
I have the following regexp:
Needs\s+Merge\s+\"(.*)\"\s+\[(\(automatic\)\s)?to\s+(.*)\s+from\s+(.*)\s+\(?base\s{1}(also\s{1})?(.*)\]
The last grouping (6) is:
Input 1: \main\2)
Input 2: /main/2
How can I avoid get the parenthesis to be included in group(6) for input 1?
br,
//mike
Back to comp.lang.java.help | Previous | Next — Next in thread | Find similar | Unroll thread
Regexp help mike <mikaelpetterson@hotmail.com> - 2012-08-07 07:03 -0700
Re: Regexp help Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-08-07 14:38 -0700
Re: Regexp help mike <mikaelpetterson@hotmail.com> - 2012-08-07 22:14 -0700
Re: Regexp help Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-08-08 09:11 -0700
Re: Regexp help markspace <-@.> - 2012-08-08 10:16 -0700
Re: Regexp help Gene Wirchenko <genew@ocis.net> - 2012-08-08 12:13 -0700
Re: Regexp help markspace <-@.> - 2012-08-08 14:15 -0700
Re: Regexp help Gene Wirchenko <genew@ocis.net> - 2012-08-08 18:43 -0700
csiph-web