nhmood / watson-ruby

inline issue manager
MIT License
634 stars 50 forks source link

inline comment not matched by regex #259

Open marscher opened 10 years ago

marscher commented 10 years ago

having code like this in python:

def foobar(a,b,c): # [todo] - i'am not matched :(

does not get matched by version 1.6.3 But this is IMHO a pretty common use case.

marscher commented 10 years ago

this is the generated regex: (?-mix:^(?:\s[#]+\s)+(\w+):\s+(.+))