I have managed to achieve this by using boost regex engine. The code is embedded in the YouComplete code: [QueryPartialMatch]( https://gist.github.com/6983945 ).
Now I have two proposals:
1. add snippet syntax to tell what to complete for the completion engine like YouComplete.
I have managed to achieve this by using boost regex engine. The code is embedded in the YouComplete code: [QueryPartialMa tch]( https:/ /gist.github. com/6983945 ).
Now I have two proposals:
1. add snippet syntax to tell what to complete for the completion engine like YouComplete.
For example, I have a snippet:
```snippet .Del(ete) ?_?if" ".delete_if { |<key>,<value>| <block> }" r match.group( 1)`.delete_ if { |${1:key} ,${2:value} | ${3:# TODO} }
snippet "(\S+)\
`!p snip.rv=
endsnippet
```
I would like to have a way to tell the completion engine to complete `Delete` instead of `(\S+)\ .Del(ete) ?_?if`.
2. Do you want to include the code in ultisnip? That means extra compliation for installation.