我有這兩個字符串: s = t
[ f ] s = t
,並處理每一個使用這種模式正則表達式: (?<=]).*(?==|:)
我的目標是試圖獲取" s " part (between the "]" and "="),雖然"[ f ]" is optional,正如你在第一行中看到的那樣。 我已經嘗試了許多不同的模式,在網上找到並被別人使用,也花了最後2個小時試圖找出與參考,搜索引擎,
我想補充的多語言支持,我的網站,像這樣: Language.php: class lang {
private $lang = null;
function __construct($lang) {
global $module;
$module['lang'] = true;
$this->lang = parse_ini_file("