Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val phrase = "Argorate cherche une fonction qu'Argorate n'aurait pas a faire lui meme"
- val regex = "Argorate".r
- val result = for (m <- regex.findAllIn(phrase).matchData)
- yield m.start
- val indexes = result.toList
Add Comment
Please, Sign In to add comment