- Joined
- Nov 6, 2021
- Messages
- 76
- Reaction score
- 13
Set Variable: Match Regex
3 params
Variable - Variable to set
String - String to match
String - Regex to use
1 tag
Group Type - Named or Ordered
when group type is named, all Regex groups must be named ((?<name>[A-z0-9]+)\|(?<message>[A-z0-9 ]+): {name: “MaverickQuill”, message: “Hello world”}), when ordered, none can be named (([A-z0-9]+)\|([A-z0-9 ]+): [“MaverickQuill”, “Hello World”]), if this check fails Variable is set to 0
named returns a dictionary while ordered returns a list, if the Regex fails it returns 0
3 params
Variable - Variable to set
String - String to match
String - Regex to use
1 tag
Group Type - Named or Ordered
when group type is named, all Regex groups must be named ((?<name>[A-z0-9]+)\|(?<message>[A-z0-9 ]+): {name: “MaverickQuill”, message: “Hello world”}), when ordered, none can be named (([A-z0-9]+)\|([A-z0-9 ]+): [“MaverickQuill”, “Hello World”]), if this check fails Variable is set to 0
named returns a dictionary while ordered returns a list, if the Regex fails it returns 0