search for: var_re

Displaying 6 results from an estimated 6 matches for "var_re".

Did you mean: var_ref
2019 Mar 25
2
Re: [PATCH 2/3] v2v: add Var_expander
...all kinds of questions that aren't answered such as: Should variables be replaced recursively? How do you escape %{..} if you don't want it to be replaced? Should we allow loops or similar constructs? Existing template systems solve these kinds of problems already. Anyway ... > +let var_re = PCRE.compile "%{([^}]+)}" Are we planning to allow a completely free choice for variable names, or could we limit this regexp to only matching ASCII alphanumeric + underscore? > +let check_variable var = > + String.iter ( > + function > + | '0'..'9'...
2019 Feb 25
0
[PATCH 2/3] v2v: add Var_expander
...details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + *) + +open Std_utils + +exception Invalid_variable of string + +let var_re = PCRE.compile "%{([^}]+)}" + +let check_variable var = + String.iter ( + function + | '0'..'9' + | 'a'..'z' + | 'A'..'Z' + | '_' + | '-' -> () + | _ -> raise (Invalid_variable var) + ) var + +let...
2019 Mar 29
0
Re: [PATCH 2/3] v2v: add Var_expander
...xisting template systems solve these kinds of problems already. Yes, however they are much more complex, and with a number of features like conditionals, filters, loops, etc. Considering this is needed so far for the file paths of disks in -o json, IMHO plain variables are enough. > > +let var_re = PCRE.compile "%{([^}]+)}" > > Are we planning to allow a completely free choice for variable names, > or could we limit this regexp to only matching ASCII alphanumeric + > underscore? This regex allows anything as variables for two reasons: 1) we do not miss any variable-...
2019 Feb 25
7
[PATCH 0/3] RFC: v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json. It produces local files, just like -o local, although the metadata produced is a JSON file with data that v2v collected in the conversion process. This can be useful for converting to unsupported destinations, still based on QEMU/KVM. In addition to a simple different metadata, it offers a way to relocate the disks, with
2005 Dec 14
3
glmmADMB: Generalized Linear Mixed Models using AD Model Builder
Dear R-users, Half a year ago we put out the R package "glmmADMB" for fitting overdispersed count data. http://otter-rsch.com/admbre/examples/glmmadmb/glmmADMB.html Several people who used this package have requested additional features. We now have a new version ready. The major new feature is that glmmADMB allows Bernoulli responses with logistic and probit links. In addition there
2019 Mar 29
5
[PATCH v2 0/3] v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json. It produces local files, just like -o local, although the metadata produced is a JSON file with data that v2v collected in the conversion process. This can be useful for converting to unsupported destinations, still based on QEMU/KVM. In addition to a simple different metadata, it offers a way to relocate the disks, with