army1987 comments on Natural Laws Are Descriptions, not Rules - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (234)
It's probably less work to read character-by-character than to split on words and read the first and last character of each.
You'd only need, whenever you see an underscore, to check whether the previous character is whitespace (or punctuation, e.g. a left parenthesis). Arundelo's point seems more valid to me (though you might allow to escape spaces, e.g.
_n_\ th... but that'd be more complicated).True! I do not know why MarkDown italics works within words.