in reply to Re^2: Regular Expression Doubt
in thread Regular Expression Doubt

# in rare cases with no spaces: ... $text =~ s/(?!\s)(<maths>)/ $1/g; ...