Your regex works of course.
And true is, "\s includes line breaks."
And SublimeText does an good job here, i like this.
But why didn't SublimeText have the option to let the** ^ caret** match at start of (an single) line ?
At least "^\s+?(\w.+)" should match non-greedy an single line only, isn't it?.
But i think SublimeText behave like
Then i think the flag (?-m) should disable this, but that doesn't work.
What do others think about this behaviour? Am i only wrecked by the weak RE implementation of other editors ?