RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details diff line count
Expression
hg diff --nodates | egrep -e "---" -v | egrep -e "^-" -c hg diff --nodates | egrep -e "\+\+\+" -v | egrep -e "^\+" -c
Description
does a mercurial diff and counts the lines removed/added.
Matches
- removed this line | - | - ...| + added this line
Non-Matches
+++ | asdf | --- a/file/here.tt
Author Rating: Not yet rated. Justin Faust
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials