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:12 PM
Views: 4
Tags: regex
  1. set
  2. {
  3.   Set(ref _field , value);
  4.   RaisePropertyChanged();
  5. }
  6.  
  7. set\s*\{\s*Set\(ref\s+(_\w*)\s*,\s*value\);\s*RaisePropertyChanged\(\);\s*}
  8. set => Set\(ref $1, value\);
  9.