Question about input of scanners in flex

  • Thread starter Thread starter SuperSusanoo
  • Start date Start date
  • Tags Tags
    Input
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 1K views
SuperSusanoo
Messages
7
Reaction score
1

Homework Statement


I have the following set of definitions

CHARCON ('([^\\'\n]|\\[\\'"0nt])')
BAD_CHARCON ('([^\\'\n]|\\[\\'"0nt]|\\[^\\'"0nt])?[']?[\n]?)

My questions are what is a charcon?, why does it have such weird characters and why are the characters of BAD_STRINGCON bad characters?

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
You need to consider these in the context of the program where they are found if you hope to make sense out of them. These expressions are composed of what are known as regular expressions.

In the absence of context, I can imagine that CHARCON might be those CHARACTERS which are allowed to be CONTAINED within whatever it is that the routine will process. Google might be able to help you here.

Perhaps this thread would be a better fit in our Programming & Computer Science forum?