changed logfilepatternreceiver parsing to use .*? and .* instead of .+? and .+

allows use of empty string matches - example: when ndc is delimited with brackets but there is no NDC value, [NDC] in the logFormat will match [] as well as [some ndc value]

I don't believe this will break existing users of LogFilePatternReceiver, since folks were unable to match fields with no text (they were required to have at least one character to have a field resolved) and this is still supported.

git-svn-id: https://svn.apache.org/repos/asf/logging/log4j/companions/receivers/trunk@678623 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: fe2a2bfcdb72db5cca53cf780722ca03f07b78ad
  1. src/
  2. build.xml
  3. LICENSE
  4. NOTICE
  5. pom.xml