Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Create DetectFloatingPointNumbers.py #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
arsho merged 2 commits into arsho:master from HighnessAtharva:patch-11
Apr 3, 2021
Merged

Create DetectFloatingPointNumbers.py #31

arsho merged 2 commits into arsho:master from HighnessAtharva:patch-11
Apr 3, 2021

Conversation

Copy link
Contributor

@HighnessAtharva HighnessAtharva commented Apr 3, 2021

Missing problem added with working solution.

Missing problem added with working solution.
Copy link
Owner

@arsho arsho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HighnessAtharva

This solution is listed in RegexandParsing/IntroductiontoRegexModule.py

As your solution is updated, I suggest to do the following:

  • Accommodate the code review comment.
  • Delete that file RegexandParsing/IntroductiontoRegexModule.py.
  • Update the readme.md to list RegexandParsing/DetectFloatingPointNumbers.py

Thank you.

HighnessAtharva reacted with thumbs up emoji

from re import match, compile

pattern = compile('^[-+]?[0-9]*\.[0-9]+$')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This regex pattern can be changed to compile('^[-+]?\d*\.\d+$')

Copy link
Contributor Author

@HighnessAtharva HighnessAtharva Apr 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly. Done.

Regex Pattern updated as mentioned in review.
Copy link
Contributor Author

  • Regex Pattern improvised.
  • Previous obsolete file deleted
  • Readme updated with DetectFloatingPointNumbers.py in place of IntroToRegex.py

Please review and merge.

Copy link
Owner

@arsho arsho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Facilitated the change request smoothly. Thank you.

@arsho arsho merged commit 8e764a7 into arsho:master Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@arsho arsho arsho approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /