text: # Pattern\.BeginInputOrLine\(\) Method
  
  [Home](../../../../../../README.md)
  
  **Containing Type**: [Pattern](../README.md)
  
  **Assembly**: Pihrtsoft\.Text\.RegularExpressions\.Linq\.dll
  
  \
  Appends a pattern that is matched at the beginning of the string \(or line if the [RegexOptions.Multiline](https://docs.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regexoptions.multiline) option is applied\)\.
  
  ```csharp
  public Pihrtsoft.Text.RegularExpressions.Linq.QuantifiablePattern BeginInputOrLine()
  ```
  
  ### Returns
  
  [QuantifiablePattern](../../QuantifiablePattern/README.md)
  
  