Posts

東莞縣

Image
  关于位于山东省的同名县份,参见:东莞县 (西汉)、东莞镇。 東莞縣 中國的县 ← 757年-1985年 →   →   → 1866年(清同治七年)新安縣全圖,由意大利米蘭外方傳教會傳教士佛倫特里(或稱安西滿神父、和神父)繪制,中英對照。左上方為東莞縣,下方為已分拆出來的新安縣。 歷史  - 更名東莞縣 757年  - 劃香山縣 1152年  - 葡萄牙侵佔 1514年-1521年  -  南部分拆為新安县 1573年  - 設東莞市 1985年9月5日 現隸屬於   中国   澳門   香港 深圳 珠海 中山 東莞 廣州 东莞县 是中国廣東省珠江三角洲東岸昔日的一个县。 始于東晉咸和六年(331年)的宝安县,至唐朝至德二年(757年)更名东莞县 [1] 。县治由当时的南头迁至涌,即今日的莞城。在唐朝及宋朝大部份時間內,東莞縣所轄領地含今廣州市增城區(原增城市)、東莞市、深圳市、中山市、珠海市、澳門特別行政區及香港特別行政區,至南宋紹興三十一年(1161年),將珠江口對側新出水土地劃香山縣止。 明朝萬曆元年(1573年),東莞縣的南部被分拆為新安縣,範圍包括今天的香港及深圳。及至1985年,東莞縣經國務院批准列為珠江三角洲經濟開發區,同年9月撤縣建市,即今天的東莞市。 东莞相传是东官的音轉,亦有人說因地處廣州東面及盛產水草(莞草)而得名,或曰昔日有僑東莞郡人居此,以為相似於其鄉,故名。 參考資料 ^ http://history.dg.gov.cn/chorography/rightjianzhi02.htm [ 永久失效連結 ] 本條目為 澳門歷史 系列之一 澳門歷史年表 早期歷史 澳門殖民地時期 鴉片戰爭前 完全佔據及擴張時期 1945年澳門 葡方開發時期 葡萄牙革命後 澳門回歸過渡期 澳門政權移交 澳門特別行政區史 2012年澳門 2013年澳門 2014年澳門 2015年澳門 2016年澳門 2017年澳門 2018年澳門 2019年澳門 澳門教育史 澳...

山姜属

Image
山姜属 艳山姜 Alpinia zerumbet 科学分类 界: 植物界 Plantae 演化支: 被子植物 Angiosperms 演化支: 单子叶植物 Monocots 演化支: 鸭跖草类植物 Commelinids 目: 姜目 Zingiberales 科: 薑科 Zingiberaceae 亚科: 山薑亞科 Alpinioideae 族: 山薑族 Alpinieae 属: 山姜属 Alpinia Roxb., 1810 模式种 大高良姜 Alpinia galanga (L.) Willd., 1797 山姜属 (又作 月桃属 ,学名: Alpinia )是姜科下的一个属,为草本植物。属名取自17世纪意大利植物学家普洛斯彼罗·阿尔皮尼的姓 [1] 。该属共有约250种,分布于亚洲热带地区。 [2] 参考文献 ^ Simonetti, G. Stanley Schuler, 编. Simon & Schuster's Guide to Herbs and Spices. Simon & Schuster, Inc. 1990. ISBN  0-671-73489-X.   ^ 中国种子植物科属词典. 中国数字植物标本馆. (原始内容存档于2012-04-11).   外部链接 維基物種中有關山姜属的數據 这是一篇與植物相關的小作品。你可以通过编辑或修订扩充其内容。 查 论 编 This page is only for reference, If you need detailed information, please check here

Replace character with another only if repeated and not part of a word

Image
6 In Python3, the following code works to replace a string (two or more) of * 's with x 's. import re re.sub(r'*(?=*)|(?<=*)*', 'x', 'Replace this *** but not this *') # 'Replace this xxx but not this *' But what if I also want to exempt a string of * 's that are part of a "word" like the following? (I.e. the string is attached to one or more [a-zA-Z] characters.) text = "Don't replace foo*** or **bar, either." # unmodified text expected How do I do this? I can probably match the exempted cases as well and use a replacement function to deal with them, but is there a better way? python regex python-3.x share | improve this que...