Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Local Development Environments Advanced Tooling Towel Off

Luis Garcia
Luis Garcia
1,552 Points

RegExp Quiz

The RegExp question on the Quiz seems to be asking for a version-specific option how to do it? On EAP 15 the way to do this is through suggested actions. Anyone else is unable to pass this quiz?

Grigorij Schleifer
Grigorij Schleifer
10,365 Points

Hi Luis,

have you found a solution?

I highlighted the RegEx and clicked on the Intention symbol. There was a possibility to click an "Edit RegExp Fragment".

And Fragment is the answer :)

1 Answer

Harry James
Harry James
14,780 Points

Hey Luis!

If you are experiencing issues with this, you can force IntelliJ to inject a reference to the RegExp language.

To do this, highlight the Regular Expression and click on the Intention symbol then Inject language or reference:

Next, choose RegExp (Regular Expression) on the dropdown list:

After that, you can highlight the Regular Expression again, click on the Intention symbol and the answer to the quiz question should then show up for you :)


Hope it helps and if you're still having problems, give me a shout!