Category "expression"

IP Address regex with netmasks

the format goal: require a.b.c.d/x where >> a is 1-3 digit num btw 1-223 b, c, and d are 1-3 digit num btw 0-255 and *required x is 1 or 2 digit num btw 8

Evaluate String expression in Swift just like javascript eval

I am getting dynamic conditions through API to apply in the application. It could be any logical expression. The task is to run all the condition received in mo

mapbox : how to combine two expressions to style a layer?

I have this expressions that styles my layer when a feature is clicked: the circle radius changes from 2 (default) to 5 (clicked). 'circle-radius'=> [ 'c

How to sort entity model by column name of display model in C# .NET Core using LINQ?

I have a page that displays all users in the table. The front end uses a class that is different from the database model. public class UserDetailsViewDto {

Regex to match code with fixed country code and variable wildcard usage

I need to implement a regex which cover several requirements. These are the following: A length restriction to max 8 chars should be done (with or without wildc

Difficulty in create regex [duplicate]

40 I'm having trouble checking in React Js if a value is is any of the following combinations no spaces in starting Ramaining accept anything(

IQueryable extension to group dynamicly by minutes ...and other

I wanted to create an IQueryable extension to allow other developers to group entities by minutely interval but also by custom group key result. My idea was to

LINQ Expression GroupBy Select First

I've got a question on LINQ Expression. I need to replicate the following lambda: var result = processRevisions OrderByDescending(pr => pr.CreatedAt) G

How can I filter in Birt (Parameter) on a computed column?

Is it possible to add a parameter to filter by a computed column and if so how? I have a report which gives the level of a bill of material and this is set as l

print when expression to display Static text if there is atleast a not null field in a detail band

I want to put a printWhenExpression on a static text based on a condition which says that print the label only if there is atleast a non null textField in a par

How can I use a built Expression in an Include .Where() to apply an Include Filter when it expects Expression but only allows Func?

I'm getting some errors trying to build expression trees on nested collections. I have classes: // not DB entity public FilterTerm { public string Compariso

After Effects Expressions - controling comps from main comp using an "Expressions Layer"

THE GOAL I WANT TO ACHEIVE: Control AE timelines using ONE EXPRESSION LAYER (much like using Actionscript) to trigger frequently used comps such as blinking, w

javascript - match string against the array of regular expressions

Is there a way in JavaScript to get Boolean value for a match of the string against the array of regular expressions? The example would be (where the 'if' stat

How to determine an object's value in Python

From the Documentation Every object has an identity, a type and a value. type(obj) returns the type of the object id(obj) returns the id of the object is