This repository was archived by the owner on Sep 6, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Expand file tree Collapse file tree 8 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // find document blocks between ';;;;' and ';;;;'
6- docBlocksRegExp : / \; { 4 } \uffff ? ( .+ ?) \uffff (?: \s * ) ? ; { 4 } / g,
6+ docBlocksRegExp : / \; { 4 } \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? ; { 4 } / g,
77 // remove not needed ' ;; ' at the beginning
88 inlineRegExp : / ^ ( \s * ) ? ( ; { 2 } ) [ ] ? / gm
99} ;
Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // find document blocks between '###' and '###'
6- docBlocksRegExp : / # # # \uffff ? ( .+ ?) \uffff (?: \s * ) ? # # # / g,
6+ docBlocksRegExp : / # # # \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? # # # / g,
77 // remove not needed tabs at the beginning
88 inlineRegExp : / ^ ( \t * ) ? / gm
99} ;
Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // find document blocks between '#**' and '#*'
6- docBlocksRegExp : / \/ \* \* \uffff ? ( .+ ?) \uffff (?: \s * ) ? \* \/ / g,
6+ docBlocksRegExp : / \/ \* \* \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? \* \/ / g,
77 // remove not needed ' * ' and tabs at the beginning
88 inlineRegExp : / ^ ( \s * ) ? ( \* ) [ ] ? / gm
99} ;
Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // Find document blocks between '%{' and '%}'
6- docBlocksRegExp : / \% * \{ \uffff ? ( .+ ?) \uffff (?: \s * ) ? \% + \} / g,
6+ docBlocksRegExp : / \% * \{ \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? \% + \} / g,
77 // remove not needed ' % ' and tabs at the beginning
88 // HINT: Not sure if erlang developer use the %, but i think it should be no problem
99 inlineRegExp : / ^ ( \s * ) ? ( \% * ) [ ] ? / gm
Original file line number Diff line number Diff line change 44module . exports = {
55 // find document blocks between '#**' and '#*'
66 // or between '=pod' and '=cut'
7- docBlocksRegExp : / # \* \* \uffff ? ( .+ ?) \uffff (?: \s * ) ? # \* | = p o d \uffff ? ( .+ ?) \uffff (?: \s * ) ? = c u t / g,
7+ docBlocksRegExp : / # \* \* \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? # \* | = p o d \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? = c u t / g,
88 // remove not needed ' # ' and tabs at the beginning
99 inlineRegExp : / ^ ( \s * ) ? ( # ) [ ] ? / gm
1010} ;
Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // find document blocks between """ and """
6- docBlocksRegExp : / \" \" \" \uffff ? ( .+ ?) \uffff (?: \s * ) ? \" \" \" / g,
6+ docBlocksRegExp : / \" \" \" \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? \" \" \" / g,
77 // remove not needed tabs at the beginning
88 inlineRegExp : / ^ ( \t * ) ? / gm
99} ;
Original file line number Diff line number Diff line change 33 */
44module . exports = {
55 // find document blocks between '=begin' and '=end'
6- docBlocksRegExp : / \= b e g i n \uffff ? ( .+ ?) \uffff (?: \s * ) ? \= e n d / g,
6+ docBlocksRegExp : / \= b e g i n \uffff ? ( .+ ?) \uffff ? (?: \s * ) ? \= e n d / g,
77 // remove not needed tabs at the beginning
88 inlineRegExp : / ^ ( \t * ) ? / gm
99} ;
Original file line number Diff line number Diff line change 11{
22 "name" : " apidoc-core" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " Core parser library to generate apidoc result following the apidoc-spec" ,
55 "author" :
" Peter Rottmann <[email protected] >" ,
66 "license" : {
You can’t perform that action at this time.
0 commit comments