I'm attempting to create a regular expression to use as a filter in DeltaWalker. I want to identify the files that had code updated in a library that our project uses, but the library source files have all had a single line, Copyright (c) 2008 - 2009
changed to Copyright (c) 2008 - 2010
. I'd like to ignore those lines because otherwise most files contain the same source code.
What is a regular expression for matching a line of text that contains "Copyright"?
760 Views Asked by AudioBubble At
3
matches an entire line if it contains the word
Copyright
.matches an entire line if it does not contain the word
Copyright
.Which one you need to use depends on how filtering works in DeltaWalker.
EDIT: If you only want to match lines that follow the specific format you quoted, then you could use