• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Simple PERL question

bo_bear

Senior member
I'm new to Perl and I'm trying to figure out the following two things that is in my homework. Thanks a lot!

What pattern do the following two statements match?
1--> /(\w)\1+/

I know what (\w) mathches, and i know that the \1+ has to do with back reference to whatever I have matched with the (\w) before, but what does the "+" at the end means?

2--> /a*a+/

Does this match an item that is preceded by a number produced by a*a?

Thanks!
 
You would probably get a much better response if this was in the proper forum. This is a hardware forum.

Russell "Mr.Bios" Sampson
 
Back
Top