|
Scala example source code file (regexmatch-input.txt)
The Scala regexmatch-input.txt source codedatafile for regex matching of phone numbers test the following numbers should match: (111) 111 1111 111 222-2222 (111) 333-3333 111 444 4444 foo (111) 555 5555 foo 111 666-6666 foo (111) 777-7777 foo 111 888 8888 foo (111) 999 9999 bar foo 111 000-0000 bar foo (111) 232-1111 bar foo 111 242 1111 bar The following should fail to match: 2(212) 222 2222 2232 222-2222 (242) 222-22222 2252 222 2222 foo (262) 2222222 foo 272 2222222 foo (282) 222-22227 foo 292 222 22222 foo (202).222 2222 bar foo 211@22222222 bar foo (213 222-2222 bar foo 214) 222 2222 bar Other Scala examples (source code examples)Here is a short list of links related to this Scala regexmatch-input.txt source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.