Advertisement
krot

regexp exemple

Jul 29th, 2020
3,962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.33 KB | None | 0 0
  1. re:run("q123wrty3rui4t","(\\d*)([a-zA-Z])",[global]).
  2. {match,[[{0,1},{0,0},{0,1}],
  3.         [{1,4},{1,3},{4,1}],
  4.         [{5,1},{5,0},{5,1}],
  5.         [{6,1},{6,0},{6,1}],
  6.         [{7,1},{7,0},{7,1}],
  7.         [{8,2},{8,1},{9,1}],
  8.         [{10,1},{10,0},{10,1}],
  9.         [{11,1},{11,0},{11,1}],
  10.         [{12,2},{12,1},{13,1}]]}
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement