python - Pyparsing: word with at least one non-digit character -


Define a pattern for how to use a "at least one non-digit word" (anywhere in the word) Does the word () and pippers make friends?

The Regex solution will be:

  Regex ("[a-z0-9] + [az] [a-z0-9] <+>)   

I tried things with the line of:

  alliance (optional (alphabet) and word (alpha))   

There should be a solution based on indexed / NotAny / SkipTo, but I do not know that

I really think that you want Reggae:

  Reggae ("[0-9] * [AG] [A-J 0-9] *")   

then pastearcing It must be put together using the problem:

  Alliance (optional (Word (ANS) + Word (alpha, alphanumeric)   

but pars In time, the reggae will be very fast.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -