watson-ruby
watson-ruby copied to clipboard
inline comment not matched by regex
trafficstars
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.
this is the generated regex: (?-mix:^(?:\s_[#]+\s_)+(\w+):\s+(.+))