Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6942245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:59:25+00:00 2026-05-27T12:59:25+00:00

I have i finite-state machine. My regular expression is: \+[0-9]+\+%\+[0-9]+ The problem is that

  • 0

I have i finite-state machine.
My regular expression is: \+[0-9]+\+%\+[0-9]+
The problem is that q3 is is in excessive state (the same as q1) I am wondering how to bypass that.
Should I simply rename q3 to q1 or what?
Thanks.
enter image description here

EOS – end of string.
If you don’t remember RegX.
It is basically means that accepted string will be: "+[0-9]([0-9] any amount of times, but at least one.)+%+[0-9]"([0-9] any amount of times, but at least one)

UPD1 new FSM, question the same: q4 is the same as q2 how to overcome that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:59:26+00:00Added an answer on May 27, 2026 at 12:59 pm

    There really isn’t a problem here. You write that q₄ “is the same as” q₂, but that’s not true: only one of them leads to q₃ if you give it +%+, and only one of them leads to q₅ if you give it end-of-string. Therefore, they have to be represented by separate internal states.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to draw a small finite state machine that has some reflexive transitions
I have a class representing a finite-state machine, which should run in a forever
Basically I have a custom implemented finite state machine that mostly listens for hardware
Does anyone have a solution for a basic, compact Finite state machine/automata written in
I have a finite state machine (django-fsm) which allows an object to go from
I want to model a kind of FSM(Finite State Machine). I have a sequence
This does not include a finite-state machine you might have done for college. I
I have this assignment to prove that this problem: Finite alphabet £, two strings
I have a question regarding the conversion of regular expressions to non-deterministic finite state
I am looking for a automated finite state machine generator for C? I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.