Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: matching any string except a regex

by almut (Canon)
on Mar 04, 2010 at 12:45 UTC ( [id://826696]=note: print w/replies, xml ) Need Help??


in reply to matching any string except a regex

Maybe you could simply add a .* at the beginning of your pattern:

s/(.*\{\{GHGbible-ref... ^^

This would gobble up everything upto the last {{...}} thingy before the 4:5, so you'd capture 'Ru' instead of the 'Gn' from the first {{...}}.

Replies are listed 'Best First'.
Re^2: matching any string except a regex
by amir_e_a (Hermit) on Mar 04, 2010 at 15:04 UTC

    Thanks a lot! It seems to do what i need.

    If you have friends who study college-level Hebrew, they probably know Gesenius. Now you can tell them that you contributed to the improvement of its online version.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://826696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-16 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found