([^|]*)\|([^|]*) ------- abc|xyz|123 => abc / xyz not-| 0 or more, then a pipe, then not-pipe 0 or more, with the third group ignored.
Does the DIH debugger console help see the strings? On Mon, Apr 12, 2010 at 6:02 PM, Erick Erickson <erickerick...@gmail.com> wrote: > Talking from general regex-ness, you might be hitting the "greedy match" > issue. That is, .* matches everything. Have you tried ".*?" > > Warning: this may be totally off base.... > > HTH > Erick > > On Mon, Apr 12, 2010 at 5:22 PM, Gerald <gerald.deco...@topproducer.com>wrote: > >> >> forgot to mention that I DID use replaceWith="$1" in tests where the >> pattern >> was like "(.*)(\|.*)" in order to only get the first group >> -- >> View this message in context: >> http://n3.nabble.com/problem-with-RegexTransformer-and-delimited-data-tp713846p714636.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> > -- Lance Norskog goks...@gmail.com