Regular expression to match colon
I need to add an interface to an class in c# and need to match if has
already been declared:
public partial class Client
Needs to be
public partial class Client: IEntity
And
public partial class Client: IEntity
Must remain
I have reached this "public partial class (\w+)" into "public partial
class $1: IEntity"
Thanks
No comments:
Post a Comment