Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Logan Laughlin
Added: Feb 5, 2020 5:13 PM
Views: 5
Tags: regex
  1. set
  2. {
  3.   _field = value;
  4.   RaisePropertyChanged();
  5.   RaisePropertyChanged("OtherProperty");
  6. }
  7.  
  8. set(\s*\{\s*)(_\w*)\s*=\s*value;\s*RaisePropertyChanged\(\);(\s*.*\s*)\s*}
  9. set$1Set\(ref $2, value\);$3}