Code: Select all
array('/^\*([^*]+)\*$/ms',
'/^\_([^_]+)\_$/ms',
'/^\%([^\%]+)\%$/ms');Code: Select all
array('<strong>$1</strong>',
'<em>$1</em>',
'<small>$1</small>');*this is valid bold markup*
*this
isn't
valid*
Instead, it doesn't replace anything. What do I need to change?
Edit: I now realize the m modifier in there isn't what I want... I need some form of "not * and not line break" regex...
- Nathaniel