Try this: 
    
    
    import nre
    
    let txt = "自我 我们 我"  # this is actually read from external file
    let r = re"(*U).{0,1}我.{0,1}"
    
    for res in findAll(txt, r):
      echo res
    
    
    Run

Show for me:
    
    
    自我
    我们
     我
    
    
    Run

Reply via email to