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
Currently, users are expected to provide a new Options object when they need to change the default behavior from Parsers.OPTIONS. However, the main constructor for Options contains default values which are good for xparse, not necessarily for xparse2 -- for example, the delim field is set to , in that constructor while we want it to be nothing for xparse2. We should provide an easy way for users to change parsing params for xparse2 which preserves the default values we see in Parsers.OPTIONS.
The text was updated successfully, but these errors were encountered:
I'm not sure, but it is called by both Parsers.tryparse and Parsers.parse, which are public
nickrobinson251
changed the title
Make ti easier to modify behavior of parse / tryparse / xparse2
Make it easier to modify behavior of parse / tryparse / xparse2Nov 9, 2023
Currently, users are expected to provide a new
Options
object when they need to change the default behavior fromParsers.OPTIONS
. However, the main constructor forOptions
contains default values which are good forxparse
, not necessarily forxparse2
-- for example, thedelim
field is set to,
in that constructor while we want it to benothing
forxparse2
. We should provide an easy way for users to change parsing params forxparse2
which preserves the default values we see inParsers.OPTIONS
.The text was updated successfully, but these errors were encountered: