Wireshark-commits: [Wireshark-commits] master aa9f560: Cleanup and extend the regex for matching ex

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 Jul 2016 15:06:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=aa9f56085374fd506ebee629315d15e86ad9bf30
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

aa9f560 by Jeff Morriss (jeff.morriss.ws@xxxxxxxxx):

    Cleanup and extend the regex for matching expert info entries.
    
    Match each entity in the structure explicitly rather than skipping a bunch at
    the end.  This makes it possible to easily (and clearly) specify where we
    allow white space.
    
    Don't capture the event group and severity: we don't use them anyway.
    
    Don't put single character matches in []: that makes it hard to read (for
    me anyway).
    
    There's no need for both the "m"(ultiline) and "s"(ingle line) options.  Nor
    the "o"optimize (make buggy) option.
    
    These same changes should/will be applied to the hf regex later.
    
    Change-Id: I3bf307dcd6432eb1a0c2b9aceea201f8403e08c0
    Reviewed-on: https://code.wireshark.org/review/16313
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  448c89e   Remember query after closing Follow Stream
    adds  aa9f560   Cleanup and extend the regex for matching expert info entries.


Summary of changes:
 tools/checkhf.pl |   36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)