<commit_before># VerbalExpressionsPHP

A PHP adaptation of https://github.com/jehna/VerbalExpressions

## Examples

Note: These examples are only examples. They may not work in all situations.

**Match an URL address**

```php
$regex = Vex::start()
	->then('http')
	->maybe('s')
	->then('://')
	->maybe('www.')
	->anythingBut(' ')
	->withAnyCase()
	->end()
	->match('http://www.google.dk'); // bool (true)
```

The fun never stops!<commit_msg>Add badges<commit_after># Verbal Expressions

[![Build Status](https://img.shields.io/travis/nordbjerg/verbal-expressions-php.svg)](https://travis-ci.org/nordbjerg/verbal-expressions-php)
[![Total Downloads](https://img.shields.io/packagist/dt/nordbjerg/verbal-expressions-php.svg)](https://packagist.org/packages/nordbjerg/verbal-expressions-php)
[![Latest Version](https://img.shields.io/github/tag/nordbjerg/verbal-expressions-php.svg)](https://github.com/nordbjerg/verbal-expressions-php/releases)
[![Dependency Status](https://www.versioneye.com/php/nordbjerg:verbal-expressions-php/badge.svg)](https://www.versioneye.com/php/nordbjerg:verbal-expressions-php)

A PHP adaptation of https://github.com/jehna/VerbalExpressions
{'fraction_non_alphanumeric': 0.18787361229718189, 'fraction_numerical': 0.0, 'mean_word_length': 5.43956043956044, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2668307', 'n_tokens_mistral': 441, 'n_tokens_neox': 420, 'n_words': 58}