Jump to content

Search the Community

Showing results for tags 'regex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

There are no results to display.

Forums

  • Welcome to Smart Mobile Studio
    • News and Information
    • Pre-Sales Questions
    • Smart In the Media
    • Smart Contests
    • Meta
  • Smart Mobile Studio Discussion
    • General
    • IDE
    • RTL
    • Code
    • Client Server
    • Platform
    • Graphics
    • Deployment
    • Suggestion box
  • Smart Mobile Studio support
    • Support
    • Bug report
  • General Discussion
    • Pascal
    • Delphi
    • Javascript
    • HTML/HTML5
    • CSS
  • Resources
    • Website
    • Download Smart Mobile Studio

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Company name


Position

Found 2 results

  1. I saw that SmartCL.RegEx is moved to System.RegEx. This reminded me of VerbalExpressions, which I came across a while ago VerbalExpressions is basically a library which creates regex strings using functional programming /^(http)(s)?(\:\/\/)(www\.)?([^\ ]*)$/ The above regular expression string checks for correctly formatted url's, and in 'regular english' would be something like the url must start with either http or https followed by :// and optionally www. and then anything but a space This can be replaced by a set of function calls : // Create a
  2. A recent post in Delphi Developer mentioned the port of VerbalExpressions from C# to Delphi https://github.com/enko/DelphiVerbalExpressions Attached is the same port to Smart Pascal. Some functions which had not been ported from C# have been included VerbalExpressions generates regex strings in a more natural language type of way. for instance the regex string to check the formatting for an emaill address is (.*)(@)([^ ]*)(\.)([^ ]*) which translates from the following rules : -An email address may start with any text, followed by an '@' symbol. -After the '@', the email ma
×
×
  • Create New...