Eitan Adler <li...@eitanadler.com> writes: > On 25 July 2016 at 14:59, Nils Dagsson Moskopp < > n...@dieweltistgarnichtso.net> wrote: > >> Eitan Adler <li...@eitanadler.com> writes: >> > See also the remainder of my email. >> >> I do not understand. What do you mean? >> > > Please re-read the original email of the thread. > > I am arguing that *neither* > <input type="text" pattern="\d*" /> > nor > <input type="number" .... /> > are correct. > > While I could understand a keyboard which only allows "allowed tokens" this > is entirely infeasible given modern regular expressions are Turing > complete. In fact, they are infeasible even as DFAs considering valid > values depend on future input.
I massively doubt that a “regular” expression could be turing complete. > There is room for a "digits only" inputmode which is *already* a mode > supported by some mobile browsers. I'd only like to make this explicit and > non-magical. Could you qualify the attribute “magical” ? -- Nils Dagsson Moskopp // erlehmann <http://dieweltistgarnichtso.net>