I'm trying to use this regular expressions in Go lang:
~((?<=^[^\s])|(?<=\s[^\s]))\s(?=[^\s](\s|$))~
{(c|d|e|i|l|n|o|p|r|t|z)\1+}
{( |a|b|d|[f-h]|i|[j-k]|m|q|s|[u-y])\1+}
{(c|d|e|i|l|n|o|p|r|t|z)\1+}
{( |a|b|[f-h]|i|[j-k]|m|q|s|[u-y])\1+}
{(si|sa|za|ja|to)\1+}
and in everyone of those i get this error:
panic: regexp: Compile(
~((?<=^[^\s])|(?<=\s[^\s]))\s(?=[^\s](\s|$))~
): error parsing regexp: invalid or unsupported Perl syntax:(?<
Maybe there is a trick know for someone? :/ or is it impossible to use them?