How can I determine if a string is an IP address? Either IPv4 or IPv6?
What is the least and most number of characters?
I assume this would be a regex answer.
Conventionally, patent valuation can be performed using three main approaches – market approach, income approach, and cost approach. In the income approach, the value of a patent will be the current value of cash flow or cost savings that it will provide.
IP valuation is a process to determine the monetary value of subject IP. To be able to do the valuation of an IP asset, it must be separately identifiable. a. The IP asset must be subject to specific identification and a recognizable description.
To track how ideas become intellectual property, you could measure: Time to complete (i.e., efficiency of) the invention disclosure process. Patent application costs. Quality of invention disclosures (number of iterations; prosecution costs; rate of issuance)
Intellectual property valuation helps to determine not only the value of the IP, but the true value of the business as a whole. Because IP often represents the most valuable assets a business possesses, calculating an accurate valuation of the business depends on accurately valuing its intellectual property.
I've done this before, but I like Raymond Chen's post at:
http://blogs.msdn.com/oldnewthing/archive/2006/05/22/603788.aspx
Where he basically advocates using regexes for what they're good at: parsing out the tokens. Then evaluate the results. His example:
function isDottedIPv4(s)
{
var match = s.match(/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/);
return match != null &&
match[1] <= 255 && match[2] <= 255 &&
match[3] <= 255 && match[4] <= 255;
}
It's much easier to look at that and grok what it's supposed to be doing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With