Lukasa / language-restructuredtext

A ReStructuredText syntax package for Atom
MIT License
27 stars 15 forks source link

Render out italics at all sizes. #12

Closed Lukasa closed 9 years ago

Lukasa commented 9 years ago

Resolves #11.

hbrls commented 9 years ago

It looks good with my document. But that's semantically different from the original one.

The original regex (\\*)\\w[^*]+\\w(\\*) means:

*    word_char    not_*    word_char    *

While the pr (\\*)[^*]+(\\*) means:

*    not_*    *
Lukasa commented 9 years ago

To be clear, we need to be semantically different from the original regex, because the original regex requires a minimum of two word characters.