Sujet : Re: Extraction nombre décimaux.
De : schaefer (at) *nospam* alphanet.ch (Marc SCHAEFER)
Groupes : fr.comp.lang.regexpDate : 23. Oct 2022, 15:17:13
Autres entêtes
Organisation : Posted through news.alphanet.ch
Message-ID : <tj3esp$90q$2@shakotay.alphanet.ch>
References : 1 2
User-Agent : tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-22-amd64 (x86_64))
Olivier Miakinen <om+
news@miakinen.net> wrote:
/(?=[-+]?[0-9.])([-+]?)([0-9]*)(?:\.([0-9]+))?(?:e([0-9]+))?/g
Je me demande si p.ex. avec la ligne "4.5 -1.2" ça risque
de créer un tableau (4.5, -, 1.2).