Find Jobs
Hire Freelancers

Regular expression operators

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
Using just the three basic regular expression operators and a few of the common extensions to them, write regular expressions for the following; You can use + or | for the union operator, but if you use +, you cannot use it as a postfix repeat factor operator. For convenience use Lambda to stand for the expression emptyset*, which denotes the language containing just the empty string. You can use the pattern language's convention for a set of individual letters, so [a-zA-Z] is the set of all Roman letters, both uppercase and lower case, which is much shorter than a + b + c + d + e + f + g + h + i + j + k + l + m + n + o + p + q + r + s + t + u + v + w + x + y + z + A + B + C + D + E + F + G + H + I + J + K + L + M + N + O + P + Q + R + S + T + U + V + W + X + Y + Z If you want to use + as a postfix unary operator meaning repeat 1 or more times then you must use | for +. You can use postfix ? or repeat 0 or 1 time and * for 0 or more times. If you use ?, you may not need to use Lambda, since usually that it comes up to allow optionally including a piece. Concatenation is given by juxtaposition, no operator. You can also use \s to stand for white space and \d to stand for [0-9], the set of decimal digits. All characters other than + * ? \ ( ) [ ] - | . will stand for themselves, so that cat denotes the language that has just the one string "cat" in it. The exception is that Lambda refers to the empty string. If you want to refer to any of the characters + * ? \ ( ) [ ] - | . as a character and not part of the expression, precede it with a backslash. Note, the minus sign(-) only needs this treatment inside the square brackets. If you want the set that contains - and all the digits, [\-0-9] gets it. For another example, if I want the regular expression for the language that contains the single string "(cat|dog)*" I would need \(cat\|dog\)\* to have the operators regarded as the characters. DO NOT USE ANY OTHER OF THE PATTERN LANGUAGES FEATURES. If I did not give the okay here don't use it. Some tools that use regular expressions, lex, for example, allow you to define one, and then refer to it in another. I do not see that in the Perl/JavaScript/Java pattern expression language. That's unfortunate, because it makes them more modular and easier to read and to build them up from simpler components. The exercises will allow that, except when you do the pattern string in the program below you will need to do the whole thing all at once.
Project ID: 11594366

About the project

17 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Please ping me.. I am an expert in writing the regular expressions. I write best regular expression more frequently in my current project.
$10 USD in 1 day
5.0 (4 reviews)
1.5
1.5
17 freelancers are bidding on average $36 USD for this job
User Avatar
Hello Sir/Mam NovaSofts Inc. is the leading IT Company of Islamabad Pakistan. We have 9+ years of experience and strong knowledge about programming languages Java C++ C C# Android So you don't worry about third party client. We are very experienced and assure you that we’ll provide quality work. The project bid is negotiable and P.M for sample work. Thanks
$30 USD in 1 day
4.9 (158 reviews)
6.8
6.8
User Avatar
Hi, i have a lot of experience in java programming. i can easily complete this task for you. we can have a chat. thanks
$70 USD in 1 day
4.9 (235 reviews)
6.9
6.9
User Avatar
I am instructor of Theory of Automata/Computational theory. I have excellent concepts of ,Regular Languages, Nondeterminism, Regular Expressions,Nonregular Languages, Context-Free Languages, Context-free Grammars, Pushdown Automata, Non-context-free Languages, The Church-Turing Thesis,Turing MachinesVariants of Turing Machines,Decidability,Decidable Languages,The Halting Problem,Reducibilit and Time Complexity. PLEASE see my PROFILE and REVIES as well. Thank You
$50 USD in 1 day
4.9 (121 reviews)
6.7
6.7
User Avatar
Looking forward to discuss more details about the project and deliver the same to your specifications
$25 USD in 1 day
4.9 (21 reviews)
5.5
5.5
User Avatar
Hello! Please check my profile/reviews to know a bit about me. It would be great if I could help you out. Thank you!
$25 USD in 1 day
4.9 (43 reviews)
5.4
5.4
User Avatar
Hello my name is Jovan and I'm a bachelor in Computer Science and Mathematics. I have 3 year experience in Java/ C++/ C, Android and Opengl ES. I am very familiar with low level development such as OpenGl, C, C++ and also multithreading, REST services, SQLite database, Camera API, Email development etc. I develop clean well documented code with no crashing or issues. I have also passed Java and C exams on Freelancer, and I have experience with Regular expressions, lexing and parsing. I would be very grateful if you take my bid into consideration, if you have any question feel free to ask
$70 USD in 1 day
5.0 (5 reviews)
3.5
3.5
User Avatar
$40 USD in 1 day
4.6 (3 reviews)
2.2
2.2
User Avatar
Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me Message me before you gonna award this project to me
$100 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have 6 years of experience in web development and 5 years of experience in android development. I have worked on a number of android, NodeJs, HTML projects. Recently i worked for a car aggregator startup to build their app. Now i am working with another food tech startup. I will be able to deliver as per your requirement. Would like to talk to you for further clarification. I can share my past experience and projects upon request. Will be able to share the exact budget and time required after getting the exact requirement. Hope to get in touch with you soon. Thanks.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I am really interested in writing this Regular Expression program for you. I didn't understand much of the description you wrote, but still would like to discuss it with you. If you could come on chat and explain it to me, it would be really helpful. Would love to have an example. Trust me I can and will deliver you this feature you want. To make you comfortable I am specifying my technical skills: Java, servlet, jsp, hibernate, spring, mySql, Oracle, pl/SQL, SQL server, Cassandra, maven, git, Unix, Linux, windows, data structures, operating systems, computer networking, c, c++, web scrapping, selenium, Php, html, CSS, bootstrap, JavaScript, jquery, Ajax Looking forward to hear from you. Thanks Best Wishes & Regards, Debryan
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Greetings, I am interested in working in this project. In a couple of days I would send my updates. Regards Abraham Jebaraj
$30 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
South Portland, United States
5.0
2
Member since Apr 7, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.