Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Replace +=, -=, *= and /=
- (\S+)+?\s?([\+\-\*\/])\=\s?(.+)
- \1 = \1 \2 (\3)
- e.g:
- x += y => x = x + (y)
- x *= y - 9 => x = x * (y - 9)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement