How to create a macro for string containing ,<Status, tinyint,>
I just read little bit about macro and was trying to create the one in .net I was able to do very small operations since I don't know much about vb.net and regular expressions.
I want to create a properties and variable declaration for the below code. What will be the regular expression to parse this string. So that I can get all the components to create a property开发者_JAVA技巧 from this.
,<Status, tinyint,>
I am trying to create macro that can parse above string into
private byte _Status;
public byte Status { get; set; }
You want to use something along the lines of
(?<val>[A-Za-z]+)
to grab your values, where 'val' is the name of a matching group. Don't have a compiler infront of me to work out the exact syntax. Have a play on gskinner to get it right
精彩评论