lua-users home
lua-l archive

Re: Number patterns

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


Shmuel Zeigerman wrote:
Here is the pattern for Lrexlib:
 [[^\d+\.\d*|\.?\d+$]].
Sorry, that was improperly anchored. A correct variant is:
 [[^(\d+\.\d*|\.?\d+)$]]
--
Shmuel

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