title: How do I parse a pseudo float number in Xtext grammar?
body: <p>I need to filter a 'reference number' of the form XX.XX, where X is any upper or lower-case letter or number (0-9). This is what I have came up with:</p>
  
  <pre><code>SCR_REF:
    'Scr_Ref' ':' value=PROFILE
  ;
  
  terminal PROFILE :
     ((CHAR|INT)(CHAR|INT)'.'(CHAR|INT)(CHAR|INT))
  ;
  
  terminal CHAR returns ecore::EString : ('a'..'z'|'A'..'Z');
  </code></pre>
  
  <p>But his doesn't work in the generated editor. The following test entry:</p>
  
  <pre><code>Scr_Ref: 11.22
  </code></pre>
  
  <p>throws an error saying: </p>
  
  <blockquote>
    <p>"no viable alternative at character '.' "</p>
  </blockquote>
  
  <p>What I'm I doing wrong?</p>