CoreFiles by mySites.guru
PrefixRule.php37 lines, 740 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
2de71e11c8d2236448739d61d5fe937c
sha1
890b994da554cc8e27dce5a9b499fc21d1f14a6c
sha256
ac30996a1eaf7d9e0fe2790e5e2561d9d3d2c902c75337d37e9d7e891ff1731a
<?php
/**
 * @package    Joomla.Installation
 *
 * @copyright  Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Installation\Form\Rule;

defined('JPATH_BASE') or die;

use Joomla\CMS\Form\FormRule;

/**
 * Form Rule class for the prefix DB.
 *
 * @since  1.7
 */
class PrefixRule extends FormRule
{
	/**
	 * 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';
}

No other release has this exact content. See every version of this file.