diff --git a/snippets/text-mode/cc-mode/c++-mode/class b/snippets/text-mode/cc-mode/c++-mode/class index 68377b5..820fc6c 100644 --- a/snippets/text-mode/cc-mode/c++-mode/class +++ b/snippets/text-mode/cc-mode/c++-mode/class @@ -3,6 +3,6 @@ class ${1:Name} { public: - ${1:$(yas/substr text "[^:]*")}($2); - virtual ~${1:$(yas/substr text "[^:]*")}(); + ${1:$(yas/substr text "[^: ]*")}($2); + virtual ~${1:$(yas/substr text "[^: ]*")}(); }; \ No newline at end of file