Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CC-Archived/linkify-as3
An extensible ActionScript 3.0 library that simplifies the task of identifying patterns in plain text (URLs, e-mail addresses, phone numbers, Twitter mentions, etc.) and converting them into clickable links.
https://github.com/CC-Archived/linkify-as3
Last synced: about 2 months ago
JSON representation
An extensible ActionScript 3.0 library that simplifies the task of identifying patterns in plain text (URLs, e-mail addresses, phone numbers, Twitter mentions, etc.) and converting them into clickable links.
- Host: GitHub
- URL: https://github.com/CC-Archived/linkify-as3
- Owner: CC-Archived
- Archived: true
- Created: 2010-03-28T16:41:32.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-23T21:49:10.000Z (almost 14 years ago)
- Last Synced: 2024-08-29T02:02:17.510Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 523 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
- awesome-actionscript-sorted - linkify-as3 - An extensible ActionScript 3.0 library that simplifies the task of identifying patterns in plain text (URLs, e-mail addresses, phone numbers, Twitter mentions, etc.) and converting them into clickable links. (Utilities / Text)
README
# Linkify for ActionScript 3.0
Linkify is an ActionScript 3.0 library that simplifies the task of identifying patterns in plain text (URLs, e-mail addresses, phone numbers, twitter mentions, FedEx/UPS/USPS tracking numbers, etc.) and converting them into clickable links.
The included ActionScript 3.0 functions are suitable for use in Flash, pure ActionScript or Flex projects.
Linkify also includes custom UI components which extend standard Flex 3 'halo' components to provide missing hyperlink styling capabilities analogous to those found in HTML, including custom colors and text-decoration for links in normal, hover and active states.
## Regular Expressions
Linkify leverages regular expressions borrowed from the following open source projects:
* John Gruber's ['A Liberal, Accurate Regex Pattern for Matching URLs'](http://daringfireball.net/2009/11/liberal_regex_for_matching_urls) and subsequent [updates](http://gist.github.com/249502s) (public domain).
* Ruby on Rails' [TextHelper](http://github.com/rails/rails/blob/master/actionpack/lib/action_view/helpers/text_helper.rb)'s e-mail address matching regex pattern (MIT license).