title: Regex-EBNF conversion issue python
body: <p>Am new to python and am trying my hands on regex and EBNF. Am not sure if my conversion are accurate. I just need a second look at my conversions.</p>
  
  <pre><code> EBNF                                      REGEX
   a{a} (convereted from regex)              a+  
  
   a{{ab} ya}  (convereted from regex)       a((xa)*ya)
  
   e{e}{bb|p[p] [p]d}c                       e+(bb|(p)*d)?c       
  </code></pre>