How does the regex \s* work?

Mahmoud.Sayed88
Posts: 5 ASC Beta Tester
I was trying to use regex in some Fill In Blank questions. I entered a regex as:
5\s*v?
in order to accept 5 or 5v or 5 v as answers. However, it turns out that it accepts: 3578! it actually accepts anything that has 5 in it. All of the following do the same
\s*
\s?
\s20?
\s*
Which is very strange.
I want to implement "Any number of spaces including 0 spaces". Do you have any idea?
Categories
- All Categories
- 6 Thought Leadership
- 7 Known and Fixed Issues
- 6 Product Roadmap
- 553 Archived
- 10 Accessibility
- 27 Community Corner
- 2 Welcome
- Updates
- Member Spotlights
- 4 Events
- 242 Development
- 746 Customer Enablement
- Evaluate - Assess Student Learning
- Get Comfortable with Brightspace
- Communicate - Engage with Your Students
- 1 Create - Set up your Brightspace course
- Action - Add or create student activities
- 26 Partners
- 8 Product News
- 2022
- 2022 Release Notes
- 2021 Release Notes
- 4 Training
- andycat