I'll share some of mine:
Valid integer (useful for StringToInt implementation):
Valid float (useful for StringToFloat implementation):
Code:
"[+-]?(\\b\\d+(\\.\\d+)?|(\\b\\d+)?\\.\\d+)([eE][+-]?\\d+)?\\b"
Tokenizing semicolon delimited string:
Code:
"([^;\"]+|\"[^\"]*\")+"
Tokenizing arguments of console command call:
Code:
"[\\S\"]+|\"[^\"]*\""
C++ style comment:
__________________