Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could I get an example of a program in rust that uses regular expressions to: 1) Search text files looking for addresses. Make assumptions about

Could I get an example of a program in rust that uses regular expressions to:

1) Search text files looking for addresses.

Make assumptions about what would define an address. Create a regular expression which searches text files for addresses based on your assumptions. Validate the functioning.

2.) Searches log files

We should create regular expressions to search log files of your choosing (network, web, server, etc.) to find at least 3 events of interest where the event of interest must have at least three indicators it is of interest (ex: event type, time-stamp value, event code, interesting text, parameter value, field value, etc.)

3). Find and consistently format all phone numbers (North American Numbering Plan - NANP and International).

4.) Demonstrates another non-trivial implementation of regular expressions.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions