Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Expression:
  2.  
  3. ^\"[a-z]+(\d+)\"\s+([A-Za-z ]*).*?(\[[A-Za-z]*\])? (PARASITE!)?$
  4.  
  5. Sample matches:
  6.  
  7. "grid69637" the empathic grid 100% / no damage [Draylor]
  8. "turret112775" a battle turret 100% / light damage [Nydekion] PARASITE!
  9. "collector63478" an energy collector 100% / critical damage [Malicia]
  10. "orb29874" a shield orb 100% / no damage
  11. "cube9235" a cloaking cube 100% / no damage PARASITE!
  12.  
  13.  
  14. What I am basically looking to do is create a table with the id numbers of the modules as keys. To each module, I hope to store its full name. (a cloaking cube) also if it has damage, followed by the other data. (person manning it and if it is infected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement