System.Data.ProviderBase.SimpleRegex.IsWordChar C# (CSharp) Method

IsWordChar() protected method

protected IsWordChar ( char c ) : bool
c char
return bool
		protected bool IsWordChar(char c) { //regexp w ([a-zA-Z_0-9]) + #@$
			if (c < '@') {
				return (c >= '0' && c <= '9') ||
						(c == '#' || c == '$');
			}
			else {
				return (c <= 'Z') ||
					(c <= 'z' && c >= '_' && c != '`');
			}
		}
	}