Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Possible to have regexes act on file directly (not in memory)

by brianski (Novice)
on May 04, 2014 at 01:27 UTC ( [id://1084908]=note: print w/replies, xml ) Need Help??


in reply to Re: Possible to have regexes act on file directly (not in memory)
in thread Possible to have regexes act on file directly (not in memory)

How would you deal with regular expressions of variable length that cross 2 chunks? What about 3 chunks?
  • Comment on Re^2: Possible to have regexes act on file directly (not in memory)

Replies are listed 'Best First'.
Re^3: Possible to have regexes act on file directly (RTFT)
by LanX (Saint) on May 04, 2014 at 02:06 UTC
    Did anyone read this thread before posting?

    Or even tried following the links provided, leading to answers already given 13 years ago?

    To say it plain, this theoretical idea of regexes creating unlimited matches is bullshit academic masturbation.

    If the match is indeed too large to hold two chunks in memory (which have to be individually bigger than the maximal match), in what way do you expect to be able to process this match???

    Truth is it's far harder to construct problems which can't be solved with sliding windows, then just to solve the real world tasks.

    Cheers Rolf

    ( addicted to the Perl Programming Language)

    update

    PS: If a little boy asks for a birthday cake bigger than any building on earth, do you really honestly start discussing where to find suitable candles?

  • expanded title

      No, it's not academic masturbation.

      This is not the first time I would need such thing due to a concrete real-world-problem.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-20 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found