Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroka-dev authored Dec 13, 2021
1 parent 168dd00 commit 54d468e
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Parameters
# Introduction
A Python script that verifies if string is part of the determined regular expression or not. The script can accept other custom regular expression as param too, but for now only the expected expression is verified.

# Regular expression Parameters
- The tested regular expression is ^(?!\[a-z])\[A-Z](\[(a-z)|( )|(,)]*)(\[.]|\[!]|\[?])$
- One sentence, with the first letter uppercase commas and spaces
- The sentence can contain lettes, commas and spaces.
Expand All @@ -7,40 +10,38 @@

# Examples of valid expressions:

Be kind, for everyone you meet is fighting a harder battle.
"Be kind, for everyone you meet is fighting a harder battle."

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."

Aaaaaaaaaaaaa.
"Aaaaaaaaaaaaa."

Aaaaaaaaaaaaa!
"Aaaaaaaaaaaaa!"

Aaaaaaaaaaaaa?
"Aaaaaaaaaaaaa?"

Aaaaaaa aaaaa aaaaaaa.
"Aaaaaaa aaaaa aaaaaaa."

Asafsafsafassaffsaafssfaasf.
"Asafsafsafassaffsaafssfaasf."

Aaaaaa,aaaaaaa.
"Aaaaaa,aaaaaaa."


# Examples of invalid expressions:
Invalid because cammelCase.

AEIOU Invalid because multiple uppercases.
"Invalid because cammelCase."

INVALID BECAUSE UPPERCASE.
"AEIOU Invalid because multiple uppercases."

Invalid because nummbers like 1 to 9.
"INVALID BECAUSE UPPERCASE."

Invalid because multiple dots...
"Invalid because nummbers like 1 to 9."

Invalid because multiple exclamations!!!
"Invalid because multiple dots..."

Invalid because numbers like 1 to 9..
"Invalid because multiple exclamations!!!"

Invalid because #@#&*+- characters.
"Invalid because #@#&*+- characters."

Invalid because áóéíãõââ characters.
"Invalid because áóéíãõââ characters."


0 comments on commit 54d468e

Please sign in to comment.