What is a regular expression for
initSock|north|router\r\n
Where there is north changes all the time but the rest is always the same. So It can be:
initSock|foo|router\r\n
initSock|bar|router\r\n
etc.
But where north, foo or bar are there definitely should be something and can't be empty. I am going to use this in C#.
To make it more clear: Any thing that looks like this is bad:
initSock||router\r\n
initSockfoorouter\r\n
|foo|router\r\n
initSock|foo|router
initSock|foo|portal\r\n
outSock|foo|router\r\n