CoreFiles by mySites.guru
prefix.php33 lines, 680 bytes, from Joomla_3.9.13-Stable-Full_Package.zip
Raw History Compare with 3.9.12
md5
2cd73a164491593eb5f84747b32751c6
sha1
ca5a64bbe9174e94500b8f967a2c6b29a4aaae51
sha256
d17a19b1c0b42310ac5645d615e27f1104d22c088d9c51bf9915c02d0b1cdd54
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

/**
 * Form Rule class for the prefix DB.
 *
 * @since  1.7
 */
class InstallationFormRulePrefix extends JFormRule
{
	/**
	 * The regular expression to use in testing a form field value.
	 *
	 * @var    string
	 * @since  1.7
	 */
	protected $regex = '^[a-z][a-z0-9]*_$';

	/**
	 * The regular expression modifiers to use when testing a form field value.
	 *
	 * @var    string
	 * @since  1.7
	 */
	protected $modifiers = 'i';
}

The same content is in 26 releases, Joomla 3.9.2-rc to 3.9.14. See them all, or every version of this file.