Advertisement
Guest User

regexp matching test

a guest
Sep 19th, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.62 KB | None | 0 0
  1. {
  2.     "input": "aaaBBB",
  3.     "pattern": "(a*)(B*)(C*)",
  4.     "isMatch": true,
  5.     "matches": [
  6.       {
  7.         "Groups": {
  8.           "1": {
  9.             "Success": true,
  10.             "Name": "1",
  11.             "Captures": [],
  12.             "Index": 0,
  13.             "Length": 3,
  14.             "Value": "aaa"
  15.           },
  16.           "2": {
  17.             "Success": true,
  18.             "Name": "2",
  19.             "Captures": [],
  20.             "Index": 3,
  21.             "Length": 3,
  22.             "Value": "BBB"
  23.           },
  24.           "3": {
  25.             "Success": true,
  26.             "Name": "3",
  27.             "Captures": [],
  28.             "Index": 6,
  29.             "Length": 0,
  30.             "Value": ""
  31.           }
  32.         },
  33.         "Success": true,
  34.         "Name": "0",
  35.         "Captures": [],
  36.         "Index": 0,
  37.         "Length": 6,
  38.         "Value": "aaaBBB"
  39.       },
  40.       {
  41.         "Groups": {
  42.           "1": {
  43.             "Success": true,
  44.             "Name": "1",
  45.             "Captures": [],
  46.             "Index": 6,
  47.             "Length": 0,
  48.             "Value": ""
  49.           },
  50.           "2": {
  51.             "Success": true,
  52.             "Name": "2",
  53.             "Captures": [],
  54.             "Index": 6,
  55.             "Length": 0,
  56.             "Value": ""
  57.           },
  58.           "3": {
  59.             "Success": true,
  60.             "Name": "3",
  61.             "Captures": [],
  62.             "Index": 6,
  63.             "Length": 0,
  64.             "Value": ""
  65.           }
  66.         },
  67.         "Success": true,
  68.         "Name": "0",
  69.         "Captures": [],
  70.         "Index": 6,
  71.         "Length": 0,
  72.         "Value": ""
  73.       }
  74.     ]
  75.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement