If you want to include a language within a language, for the purposes of syntax highlighting for example, the `include` rule within Textmate allows it.
Here’s the example from the manual:
{ begin = ‘<\?(php|=)?';
end = '\?>‘;
patterns = (
{ include = “source.php”; }
);
}