Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Brute Force Algorithm with Perl reg exprs?

by idsfa (Vicar)
on Apr 25, 2006 at 02:41 UTC ( #545447=note: print w/replies, xml ) Need Help??

in reply to Brute Force Algorithm with Perl reg exprs?

So, to restate your problem, you are looking to match between zero and length - hint_length arbitrary characters, the hint and between zero and length - hint_length arbitrary characters. The perlre sign for "between zero and infinity" is *, though you can be more specific (hint: look for the bit about curly braces in the doc link). Good luck -- old-hand at semester end cramming recommends starting earlier next time ;-).

The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://545447]
[Corion]: marto: Oh ;) Well, I think you did right - more time, even if not spent with the kids directly, is still more time for you.
[Discipulus]: good morning monks! town holiday here.. but super busy
Discipulus time is not comarable with money.. when you have a roof and something to eat
[Corion]: Hi Discipulus! Busy making the town better? ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-06-29 08:37 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (655 votes). Check out past polls.