Hello,

I'd like to match any line that does not start with FOO.  (Using just a reg-ex 
rule)

1) What is the effective difference between:

(?!^FOO).*

^(?!FOO).*

2) Is there a better way to do this?


Thanks,
:)



      

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to