This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
howto:customize_abbreviations [2014/10/04 11:06] lupo73 [Supported Modifiers] |
howto:customize_abbreviations [2022/03/19 08:24] robertu add the symbol '%' to the syntax in line 5 |
||
---|---|---|---|
Line 3: | Line 3: | ||
DropIt provides advanced features to modify abbreviated strings. It is possible to add an unlimited | DropIt provides advanced features to modify abbreviated strings. It is possible to add an unlimited | ||
number of modifiers in each abbreviation, using the following syntax:\\ | number of modifiers in each abbreviation, using the following syntax:\\ | ||
- | ''%Abbreviation#Modifier1#Modifier2%'' | + | ''%Abbreviation#Modifier1%#Modifier2%'' |
Some destination examples for Rename action using modifiers:\\ | Some destination examples for Rename action using modifiers:\\ | ||
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//.\\ | ||
''d>d1'' => Delete //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.\\ |