<?xml version="1.0" encoding="UTF-8" ?>
<!-- ==========================================================================\
|   To learn how to make your own language parser, please check the following
|   link:
|       		https://npp-user-manual.org/docs/function-list/
\=========================================================================== -->
<NotepadPlus>
	<functionList>
		<!-- ========================================= [ Initialisation File ] -->
		<!-- File format used for: .INF / .INI / .REG / .editorconfig          -->

		<!-- Original mainExpr:	"^\h*[\[&quot;][\w*.;\x20()\-]+[&quot;\]]"							-->
		
		<!-- This was *really* annoying me, showing ONE section of an ini when I had dozens.
				SO, a quick hack which I've never had any need to update.. 		-->
		
		
		<parser
			displayName="INI Section"
			id         ="ini_section"
			commentExpr="(?x)
							(?m-s:[;\#].*$)                                 # Single Line Comment
						"
		>
			<function
				mainExpr="^\[[. -_<>\d\w*\]]*"
			>
			</function>
		</parser>
	</functionList>
</NotepadPlus>