Matching
IsMatch
The System.Text.RegularExpressions.Regex
Class provides several overloads of isMatch
. The same overloads are available in the FsRegEx
class and as individually
named functions, including overloads and functions using RegexOptions
. Timeout
is not supported at this time.
is match on first occurence
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: |
|
is match starting at position
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: |
|
FsMatch
FsMatch
provides the functionality in the System.Text.RegularExpressions.Match
Class, but returning arrays of objects instead of special collections.
iterate over matches
1: 2: 3: 4: 5: 6: |
|
first match and iteration
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: |
|
val partNumbers : string []
val partNumber : string
val printfn : format:Printf.TextWriterFormat<'T> -> 'T
val fsRegEx : obj
val labeledPartNumbers : string []
val start : int
System.String.IndexOf(value: string) : int
System.String.IndexOf(value: char) : int
System.String.IndexOf(value: string, comparisonType: System.StringComparison) : int
System.String.IndexOf(value: string, startIndex: int) : int
System.String.IndexOf(value: char, startIndex: int) : int
System.String.IndexOf(value: string, startIndex: int, comparisonType: System.StringComparison) : int
System.String.IndexOf(value: string, startIndex: int, count: int) : int
System.String.IndexOf(value: char, startIndex: int, count: int) : int
System.String.IndexOf(value: string, startIndex: int, count: int, comparisonType: System.StringComparison) : int
System.String.IndexOf(value: char) : int
System.String.IndexOf(value: string, comparisonType: System.StringComparison) : int
System.String.IndexOf(value: string, startIndex: int) : int
System.String.IndexOf(value: char, startIndex: int) : int
System.String.IndexOf(value: string, startIndex: int, comparisonType: System.StringComparison) : int
System.String.IndexOf(value: string, startIndex: int, count: int) : int
System.String.IndexOf(value: char, startIndex: int, count: int) : int
System.String.IndexOf(value: string, startIndex: int, count: int, comparisonType: System.StringComparison) : int
module Array
from Microsoft.FSharp.Collections
from Microsoft.FSharp.Collections
val iter : action:('T -> unit) -> array:'T [] -> unit
val m : obj
val regExpr : string
val sentence : string