You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given above's situation, $1 could be tittle, attributes or body. How can I check what it is? If in the code I do echo capture, the field name is empty.
Second issue: creating objects
I want to capture above's data in a ref object, where should I create it?
var blk:Block
new(blk)
I'd like to create the object in one place in order to do something like:
I am having two difficutties and probably I am not using probably npeg here.
First issue: capturing optional elements
Given above's situation,
$1
could betittle
,attributes
orbody
. How can I check what it is? If in the code I doecho capture
, the fieldname
is empty.Second issue: creating objects
I want to capture above's data in a
ref object
, where should I create it?I'd like to create the object in one place in order to do something like:
The text was updated successfully, but these errors were encountered: