Reworked string and regexp processing to not use unsafe read-string
Added partial parsing