[スレッド全体]

2017/7/11 (火) 14:43:44 rasti 返信 削除
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
[5811] まくろだけど1
とちゅうだけど
これが できたら いい

(?!=(?:/*(?:^(?:\(|\)|\||\&|,| |\t|{|=|~|\^)::[a-zA-Z0-9_]+)*|//(?:^(?:\(|\)|\||\&|,| |\t|{|=|~|\^)::[a-zA-Z0-9_]+)*#
|\#if 0(?:^(?:\(|\)|\||\&|,| |\t|{|=|~|\^)::[a-zA-Z0-9_]+)*))#
(?:\(|\)|\||\&|,| |\t|{|=|~|\^)::[a-zA-Z0-9_]+

de tsugiha
korededetekitarisutowo

makurode dekite
dekitaraiini nattetandakedo
nattetandakedo

var n
var n_limit 
var string = ''
var string2 = ''
list string_list = {''}

n_limit = get document max line count

for (n = 0; n <= n_limit; n += 1) [
	select one line(n)
	string = get selected string(0)
	n_start = 0
	n_stop = get string size(string)
	loop [
		if n_stop <= n_start [
			last;
		]
		ret_object = regex_match(string, n_start, '(?:\(|\)|\||\&|,| |\t|{|=|~|\^)::([a-zA-Z0-9_]+)', n_stop)
		string2 = get sub string(string, ret_object.match(1).n_matched_index, ret_object.match(1).n_matched_length)
		add string to linst(string_list, string2)
		if n_stop <= ret_object.match(1).n_matched_index + ret_object.n_matched_length [
			last
		]
		n_start = ret_object.match(1).n_matched_index + ret_object.match(1).n_matched_length
	]
]
delete dap on list(string_list)
delete nall on list(string_list)
sort list(string_list)

document_handle hdocument = open new document
write string list to document(string_list, hdocument)
n = 1
string = 'api list'
string2 = ''
string3 = n;
loop [
	ret = save document as (document_handle, 'api list' + type as 'string' (n) + '.txt')
	string2 = 'api list'
	add string (''
	if ret == (FILE_SAVE_ERROR | FILE_IS_ALREADY_EXISTS) [
		n += 1
	] else if ret == FILE_SAVE_ERROR | FILE_CAN_NOT_WRITE)
		message box ('api list create error', 'can not save file  FILE_SAVE_ERROR | FILE_CAN_NOT_WRITE')
		quit
	] else [
		message box ('api list create error', 'can not save file ' + type as 'string' (ret))
	]
]

[▼次のスレッド]
INCM/CMT
Cyclamen v3.81
[ut:0.010][st:0.010]