Finds the first entry of specified pattern in single-line mode.
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public TextSelection[] FindPatternInLine( Regex pattern )
Public Function FindPatternInLine ( pattern As Regex ) As TextSelection()
public: virtual array<TextSelection^>^ FindPatternInLine( Regex^ pattern ) sealed
abstract FindPatternInLine : pattern : Regex -> TextSelection[] override FindPatternInLine : pattern : Regex -> TextSelection[]
Parameters
- pattern
- Regex
The pattern.