Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Add named sections #5

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Text/Wiki/Parse/Default/Separator.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ class Text_Wiki_Parse_Separator extends Text_Wiki_Parse {

public $regex = '/' .
'^' .
'([=]{4,})' . # "====", four or more =
'([=]{4,})' . # "====", four or more =
'\s?' .
'([A-z0-9_\-]*)' . # Name, if named section
'$' .
'/m';

Expand Down