This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howto:customize_abbreviations [2014/10/04 10:39] 127.0.0.1 external edit |
howto:customize_abbreviations [2022/03/19 08:36] (current) robertu regress the last modification |
||
---|---|---|---|
Line 38: | Line 38: | ||
''<nowiki>s--(s1,s2)</nowiki>'' => Take a string between string //s1// and //s2// (excluded).\\ | ''<nowiki>s--(s1,s2)</nowiki>'' => Take a string between string //s1// and //s2// (excluded).\\ | ||
''r(s1,s2)'' => Rename all occurrences of the string //s1// with string //s2//.\\ | ''r(s1,s2)'' => Rename all occurrences of the string //s1// with string //s2//.\\ | ||
+ | ''regex(p1,r1)'' => Replace regex pattern //p1// with regex replacement pattern //r1//.\\ | ||
''d(s1)'' => Delete all occurrences of the string //s1//.\\ | ''d(s1)'' => Delete all occurrences of the string //s1//.\\ | ||
- | ''c>d1'' => Cut //d1// characters from the left of the string and take the rest.\\ | + | ''d>d1'' => Delete //d1// characters from the left of the string and take the rest.\\ |
- | ''c<d1'' => Cut //d1// characters from the right of the string and take the rest.\\ | + | ''d<d1'' => Delete //d1// characters from the right of the string and take the rest.\\ |
+ | ''k(s1)'' => Keep only the group of characters of the string //s1//.\\ | ||
+ | ''k-(s1)'' => Delete only the group of characters of the string //s1//.\\ | ||
''a>(s1,d1)'' => Add a string //s1// in position //d1// from the beginning.\\ | ''a>(s1,d1)'' => Add a string //s1// in position //d1// from the beginning.\\ | ||
''a<(s1,d1)'' => Add a string //s1// in position //d1// from the end.\\ | ''a<(s1,d1)'' => Add a string //s1// in position //d1// from the end.\\ |