You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems a bit niche, and also regular expressions can achieve this to some extent.
For example, any text with 10 or fewer characters per line can be reversed as follows:
Replace (?-s)(?-s)(.)?(.)?(.)?(.)?(.)?(.)?(.)?(.)?(.)?(.)? with ${10}$9$8$7$6$5$4$3$2$1 (regular expressions on).
Try it out on
abc
ab
h
jklmnopqrs
uvwxyz
And of course any scripting plugin will easily solve your problem:
PythonScript editor.rereplace('(?-s)(.+)', lambda m: m.group(0)[::-1])
Please add a line operation to reverse the contents of each line, for example:
would become
Use cases include being able to sort stings by their final component, as demonstrated at:
https://bugs.documentfoundation.org/show_bug.cgi?id=141042
The text was updated successfully, but these errors were encountered: