Expand even if the character before the cursor is not a space
Expand as soon as you type the trigger, no need to press Tab
Only expand if the characters before the cursor are only spaces
See the documentation for other flags
Access on the th Tab press
Insert code
Get a tabstop value
Get a regex trigger's group