You are here

function follow_network_regex_internal in Follow 6

Verify that a url is relative.

1 string reference to 'follow_network_regex_internal'
follow_default_networks in ./follow.module
Retrieves the default networks available.

File

./follow.module, line 622
Allows users to add links to their social network profiles.

Code

function follow_network_regex_internal() {

  // An internal link should not have ':'.
  return '@^[^:]+$@';
}