kornellh

About me

Developer Information
Name kornellh
User since April 12, 2008
Number of add-ons developed 1 add-on
Average rating of developer's add-ons Rated 5 out of 5 stars

Add-ons I've created

About support button

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

Rated 5 out of 5 stars (1)
162 users

My Reviews

Autofill Forms

regex question Rated 5 out of 5 stars

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)

This review is for a previous version of the add-on (0.9.8.1). 

Open Multiple Locations

very good Rated 5 out of 5 stars

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

This review is for a previous version of the add-on (0.3).