nge Problen rou are in the market to buy a blue pick-up truck, and you wish to develop an automated web searching program (a spider) to search daily through various online newsgroups and classified ad websites to find text containing the word blue and the phrase pick up truck close to each other, followed by a price. Specifically, you should match the words blue and the phrase (pickup/pick-up/pick up) truck separated by at most two other words or numbers (such as a year) in between. The pick-up truck phrase could appe pefore or after the word blue. After the words blue and the phrase pick-up truck, the text should also contain a price, and you should be able to simply re-use your price regular expression you developed previously. Exercise 18 Test Strings: Test Suite: (Should be ACCEPTED) SEJECT: blue pickup truck $5000 REJECT: blue picikup truck s5,000 REJECT: blue piekup sruck $1,234.56 RESECT: blue pick-up truck 85000 RECECT: blue piek up truck $5000 REJECT: blue toyota pick-up truck 85000 REJECT: blue toyota 1993 psek-up sruek $5000 EJECT: blah blah blue toyota 1993 piek-up truck blah blah 85000 blah REJECT: piekup truek blue 85000 REJECT: piek-up truck 1993 teyota blue 35000 REJECT: blah blah blah piek-up truck teyota 1993 blue blah blah blah 15000 REJECT: desperate: blue 1993 toyota piekup truek for sale. 82, 000 e.b.o. REJECT: toy pickup truck REJECT: blue blue pickup piekup truck truek 15000. Test Suite: (Should be REJECTED): REJECT: blue cherry blue: 012. xonas 1saas REJECT: blue piekup sruek REJECT: blue 35000 REJECT: piekup sruek 5000 BEJECT: blue truek 85000 REJECT: 85000 blue pickup truck RESECT: blue car 15000 REJECT: blue toyota 1993 piek-up truck REJECT: blue 1993 toyota sutomatie pick-up truck 15000 REJECT: fblue's pick-up truck sold for $5000 SEJECT: pick-up trueks by fblue: $5000 REJECT: biuedy for saie piekup truek: 85000)
nge Problen rou are in the market to buy a blue pick-up truck, and you wish to develop an automated web searching program (a spider) to search daily through various online newsgroups and classified ad websites to find text containing the word blue and the phrase pick up truck close to each other, followed by a price. Specifically, you should match the words blue and the phrase (pickup/pick-up/pick up) truck separated by at most two other words or numbers (such as a year) in between. The pick-up truck phrase could appe pefore or after the word blue. After the words blue and the phrase pick-up truck, the text should also contain a price, and you should be able to simply re-use your price regular expression you developed previously. Exercise 18 Test Strings: Test Suite: (Should be ACCEPTED) SEJECT: blue pickup truck $5000 REJECT: blue picikup truck s5,000 REJECT: blue piekup sruck $1,234.56 RESECT: blue pick-up truck 85000 RECECT: blue piek up truck $5000 REJECT: blue toyota pick-up truck 85000 REJECT: blue toyota 1993 psek-up sruek $5000 EJECT: blah blah blue toyota 1993 piek-up truck blah blah 85000 blah REJECT: piekup truek blue 85000 REJECT: piek-up truck 1993 teyota blue 35000 REJECT: blah blah blah piek-up truck teyota 1993 blue blah blah blah 15000 REJECT: desperate: blue 1993 toyota piekup truek for sale. 82, 000 e.b.o. REJECT: toy pickup truck REJECT: blue blue pickup piekup truck truek 15000. Test Suite: (Should be REJECTED): REJECT: blue cherry blue: 012. xonas 1saas REJECT: blue piekup sruek REJECT: blue 35000 REJECT: piekup sruek 5000 BEJECT: blue truek 85000 REJECT: 85000 blue pickup truck RESECT: blue car 15000 REJECT: blue toyota 1993 piek-up truck REJECT: blue 1993 toyota sutomatie pick-up truck 15000 REJECT: fblue's pick-up truck sold for $5000 SEJECT: pick-up trueks by fblue: $5000 REJECT: biuedy for saie piekup truek: 85000)
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter8: Working With Trendlines, Pivottables, Pivotcharts, And Slicers
Section: Chapter Questions
Problem 8EYW
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage