Alas I'm using "/" as an arithmetical operation in a MySQL statement and it renders the rest of the code (until a subsequent "/") as a RegExp! I thought it was commenting out until I looked at the bundle:
{ name = "Comment"; foregroundColor = "#9933CC"; match = "^\s*--.*$"; }, [snip] { name = "Regular Expression"; begin = "/"; end = "/"; foregroundColor = "#CCCC33"; patterns = ( { name = "Interpolated String"; match = "#\{([^\}]*)\}"; foregroundColor = "#aaaaaa"; }, { name = "Escaped slash"; match = "\\/"; foregroundColor = "#CCCC33"; } ); },
This is a shame b/c I was enjoying the SQL syntax colors... this renders them unworkable when using the maths... Is there a way to change the RegExp syntax to allow "/" as divisor?
thanks! Paul
PS to Fred B -- any relation to Agnes? :)