kornellh

O mně

Informace o vývojáři
Jméno kornellh
Zaregistrován(a) od April 12, 2008
Počet vyvíjených doplňků 1 doplněk
Průměrné hodnocení doplňků vývojáře Ohodnoceno 5 z 5 hvězdiček

Doplňky, které jsem vytvořil

About support button

Toolbar Shortcut Button for Mozilla's "about:support" Troubleshooting Information.

Nehodnoceno
287 uživatelů

Mé recenze

Autofill Forms

regex question Ohodnoceno 5 z 5 hvězdiček

i would like to know if it's poosible to use negative lookbehind in regex (regular expression)?
i have a field named "mp_total_mp" and i want to fill field only if
(string "total" does not have in front string "mp" OR string "total" is not followed by string "mp") OR (string "total" does not have in front string "mp" AND string "total" is not followed by string "mp") .
In other words field can contain string "total" but without string "mp" in front or/and after.

if field name was "total_mp" the solution for regex is simple:
total(?!.*mp)
which it works as supposed . but i would like to now if i can do something like this:
(?<!mp.*)total
i tested this with regex buddy and error was: the java.util.regex does not support infinite repetition inside lookbehind.
Finally i would like to have a regex like this:
(?<!mp.*)total(?!.*mp)

Tato recenze je pro předchozí verzi doplňku (0.9.8.1.1-signed). 

Open Multiple Locations

very good Ohodnoceno 5 z 5 hvězdiček

very good. just what i was locking for. thank you

Tato recenze je pro předchozí verzi doplňku (0.3).