lua-users home
lua-l archive

Re: Thought experiment: what would you remove from Lua

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2018年08月01日 1:55 GMT+02:00 dyngeccetor8 <dyngeccetor8@disroot.org>:
> * string.reverse() (anyone used it?)
The project I am currently working on (reverse-engineering a PDF file
via XML to Markdown) uses it.
It has a routine that converts text formatted this way:
<text font=font7>The quick brown fox jumps over the lazy dog</text>
to this:
**_`The quick brown fox jumps over the lazy dog`_**
I assemble the starting markdown sequence from the font information
and then the ending is done by string.reverse.

AltStyle によって変換されたページ (->オリジナル) /