I am learning TextMate in order to define customized keyword for highlighting in a Orion editor(A browser based editor who is using TextMate grammar). I read this link http://manual.macromates.com/en/language_grammars.html#language_rules. And I don't understand how to define a pattern to match a keyword.
Below is an example I tried to define database
as a keyword. But it doesn't get recognized by the editor.
{ name = 'keyword.control.db';
match = '\b(database)\b';
}
what is the correct way to do this?