title: Do I need change anything on my regular expression?
body: <p>I want to transfer a fixed length text to XML, and I use RegEx to do it.
  In position 36 of each line of the text file is about 'User's initial' which requires 1 alphanumeric. but sometime it is blank. 
  So I use RegEx pattern like [a-zA-Z\s]{1} which is good, it either matches 1 alphanumeric or blank.
  But when I do the validation using schema, the schema says my RegEx doesn't match with his \p{L}{1} which means it can only be letter.
  So what should I do on my RegEx? or they have to change either text file pattern or change schema.
  Here is my code example:</p>
  
  <pre><code>Dim linePattern2 As New Regex("^(?&lt;type_code&gt;\d{3})(?&lt;snm&gt;[a-zA-Z0-9\s.\']{20})(?&lt;gvn_nm&gt;[a-zA-Z0-9\s.\']{12})(?&lt;init&gt;[\p{L} ]{1})(?&lt;sin&gt;\d{9})(?&lt;rcpnt_bn&gt;[a-zA-Z0-9\s.\']{15})(?&lt;l1_nm&gt;[a-zA-Z0-9\s.\']{30})(?&lt;l2_nm&gt;[a-zA-Z0-9\s.\']{30})")
      Dim settings As New XmlWriterSettings()
      settings.Indent = True
      Using writer As XmlWriter = XmlWriter.Create(xmlOutput, settings)
          writer.WriteStartDocument()
          writer.WriteStartElement("Submission")
          writer.WriteAttributeString("xmlns", "xsi", Nothing, "http://www.w3.org/2001/XMLSchema-instance")
          writer.WriteAttributeString("xsi", "noNamespaceSchemaLocation", Nothing, "c:\schema\layout-topologie.xsd")
  
          writer.WriteStartElement("Return")
          writer.WriteStartElement("T4A")
          Using reader As New StreamReader(textInput)
              While Not reader.EndOfStream
  
                      Dim line As String = reader.ReadLine()
                      Dim match2 As Match = linePattern2.Match(line)
                      If match2.Success Then
                          writer.WriteStartElement("T4ASlip")
  
                          writer.WriteStartElement("RCPNT_NM")
                          writer.WriteElementString("snm", match2.Groups("snm").Value)
                          writer.WriteElementString("gvn_nm", match2.Groups("gvn_nm").Value)
                          writer.WriteElementString("init", match2.Groups("init").Value)
                          writer.WriteEndElement()
  
                          writer.WriteElementString("sin", match2.Groups("sin").Value)
                          writer.WriteElementString("rcpnt_bn", match2.Groups("rcpnt_bn").Value)
                          End If
              End While
          End Using
          writer.WriteEndElement()
          writer.WriteEndElement()
          writer.WriteEndElement()
          writer.WriteEndDocument()
      End Using
  </code></pre>
  
  <p>Here is the part of text file:</p>
  
  <pre><code>100AASERUDE            RUSSELL ALAN 663345678000000000000000
  </code></pre>
  
  <p>The schema validation error is:</p>
  
  <p>'init': value ' ' does not match regular expression facet '\p{L}{1}'</p>
  
  <p>Thanks in advance!</p>