An SMT Solver for Regular Expressions and Linear Arithmetic Over String Length