Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. {
  2. key id : 1349439575,
  3. value uint8Val : 0
  4. }
  5. {
  6. key id : 1349439540,
  7. value uint8Val : 0
  8. }
  9.  
  10. regex re("(\s*key\s*id\s*:\s*)(\d+)");
  11. regex_replace(my_data, re, "$1 $2");
  12.  
  13. {
  14. key id : 0x506ed057,
  15. value uint8Val : 0
  16. }
  17. {
  18. key id : 0x506ed034,
  19. value uint8Val : 0
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement