try `/#:[^ ]+/.exec("#:s\ts")`
maybe you've tested with soft tabs enabled and editor converted tabs to spaces?