Mixing in regex / textmate
I am trying to create a Textmate snippet but ran into some difficulties. Basically, I want to enter a name and split it into parts.
Example
Bill Gates: (Bill), (score), (Gates), (gate), (Bill Gates), (Bill Gates), (Gates score), (counting gate)
EDIT **
So I can certainly produce these results quite simply if I were using a programming language. For example, I could split words and then call uppercase or lowercase functions to get that output.
But in my situation I am using Textmate and its regex capabilities to create a tab fragment. I want to enter some startup key i.e. doit, click a tab and then enter the username. Then upstream output will be generated. It won't save me that much time, but I feel like I come across this kind of thing quite often in Textmate and want to understand it.
I used this as a reference, but still don't know how to use regex to select with words and upper and lower case (\ u \ U \ l \ L)
source to share