 | ValidateAreEqual Method (String, Regex) |
Validates if the given regular expression matches the given string.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static void AreEqual(
string actual,
Regex regex
)
Public Shared Sub AreEqual (
actual As String,
regex As Regex
)
Parameters
- actual
- Type: SystemString
The string to match. - regex
- Type: System.Text.RegularExpressionsRegex
The regular expression.
Exceptions
See Also