Guest User

Untitled

a guest
Apr 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. 0
  2. 314
  3. (-7)
  4. (0+0)
  5. (314+(-314))
  6.  
  7. 01
  8. -5
  9. 5+10
  10.  
  11. ⁾()j
  12. p`j”+Ç$€;;”-;ÇƊ€;®‘©¤Ṅ€
  13. WÇ1¿
  14.  
  15. r="(0|[1-9][0-9]*)";c=RegExp;f=e=>(new c(`^${r}$`)).test(e)||(new c(`^\(-${r}\)$`)).test(e)||(_=>{p=/^((.*)+(.*))$/.exec(e);return p?f(p[1])&&f(p[2]):false})()
Add Comment
Please, Sign In to add comment