Regular Expressions: Match those texts using Kleene


Match "aaaabcc", "aabbbbc", "aacc" using a regular expression. Note: Using a Kleene Plus or Kleene Star is a must.



The ideal laziest solution would be a*b*c*.

Using aaaabcc|aabbbbc|aacc is wrong since you're not using Kleenee.

No comments :

Post a Comment

Follow Me

If you like our content, feel free to follow me to stay updated.


Enter your email address:

We hate spam as much as you do.

Upload Material

Got an exam, project, tutorial video, exercise, solutions, unsolved problem, question, solution manual? We are open to any coding material. Why not upload?


Copyright © 2012 - 2014 Java Problems  --  About  --  Attribution  --  Privacy Policy  --  Terms of Use  --  Contact