in reply to Re^2: need help with a regex
in thread need help with a regex

{,8} is perfectly valid it means a maximum of 8 times

{,8} is a perfectly valid string which in a regular expression matches the character '{' followed by the character ',' followed by the character '8' followed by the character '}'.    Perhaps you are thinking of the quantifier {0,8}?

Replies are listed 'Best First'.
Re^4: need help with a regex
by aquinom (Sexton) on Oct 22, 2010 at 21:28 UTC
    It is a quantifier in the context I wrote /VILMWFCA{8,}/ it's quantifying the number of residues to be at least 8 sequential residues from VILMFWCA.
      I wrote /VILMWFCA{8,}/ ...
      kennethk has twice now pointed out your failure to use code tags. What's so difficult about wrapping <c> and </c> or <code> and </code> around your snippet so that your code renders properly?

      Cheers,

      JohnGG