Forum » Programiranje » [JS] Regex
[JS] Regex
korenje3 ::
A kdo ve, če \d+ zajame tudi negativni znak?
data.match(/t\=(\d+)/);
recimo če matcha -25 v "lala=-25xxx" ?
data.match(/t\=(\d+)/);
recimo če matcha -25 v "lala=-25xxx" ?
i9-12900k; 32GB DDR5-6000 CL36; Nvidia RTX 3080 ti;
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
korenje3 ::
predvidevam da moram dati [-]? pred \d+
i9-12900k; 32GB DDR5-6000 CL36; Nvidia RTX 3080 ti;
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Gigabyte Aorus z690 master; Be Quiet Dark Power 12 1000W
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Matcha čajOddelek: Loža | 8347 (3166) | enemon |
» | Word 2003 VBA problemOddelek: Programska oprema | 1048 (935) | mimax |
» | c# regularni izrazOddelek: Programiranje | 2030 (1728) | darkolord |
» | [C++-Qt] QDateTime v LocalDate in LocalTime formatuOddelek: Programiranje | 1191 (1083) | 'FireSTORM' |
» | regular expression challangeOddelek: Programiranje | 1187 (1087) | b |