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

Re^3: partial matching of lines in perl

by BillKSmith (Monsignor)
on Jun 16, 2020 at 15:50 UTC ( [id://11118141]=note: print w/replies, xml ) Need Help??


in reply to Re^2: partial matching of lines in perl
in thread partial matching of lines in perl

I cannot give you the "reverse of the same problem" because I still do not understand the original problem. I stated that the code I posted did not pass your single test case. I posted it to demonstrate my understanding of the problem. I expected you to post a clarification.

You now mention "Partially mismatched" lines. I cannot think of any interpretation of this phrase which is consistent with your new test case. In addition to all the suggestion from AnomolousMonk, I also tried: "Select a line from file1 if it does (not) contain any word which appears in file2" (Where "word" is defined as all the text between regex word boundaries.)

Please post unambiguous requirements and several test cases. It is important that they all be exactly correct.

Bill
  • Comment on Re^3: partial matching of lines in perl

Replies are listed 'Best First'.
Re^4: partial matching of lines in perl
by AnomalousMonk (Archbishop) on Jun 16, 2020 at 16:25 UTC
    ... unambiguous requirements and several test cases. It is important that they all be exactly correct.

    Good luck with that.


    Give a man a fish:  <%-{-{-{-<

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-20 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found