Phone number matching regex
How to validate phone numbers using regex
Let us view our deleted comments If moderators can view , can we see comments we've deleted? We can see our deleted answers, but why not our deleted comments? I use my DSLR (Nikon D500) for both photography and video, and I prefer autofocus for photography and manual focus for video (to get rid of autofocus noise).  There is an option for changing between the two on both the body and the lens, and obviously it is very annoying to have to keep flicking 2 switches to do the same thing all of the time.  Do you only have to change one of them, and would doing this cause any damage to the camera and/or the lens?  (I am aware that a similar question has already been asked before, however the answers said more what is "best practice" and not so much if there are any consequences to only changing one of them)  Thanks! Is C strongly typed? To quote :     Two commonly used languages that   support many kinds of implicit   conversion are C and C++, and it is   sometimes claimed that these are   weakly typed languages. However,   others argue that these languages   place enough restrictions on how   operands of different types can be   mixed, that the two should be regarded   as strongly typed languages.   Is there a more definitive answer? Favorites improvements - search, categorize, personal tags, add note, favorite answer I'm a big fan of the favorites feature. I usually mark questions with good answers of code snippets for later use.  Most of the time I can't find the favorite I'm looking for so quickly as desired. I know I marked the question in Stack Overflow, but it takes time to find it again, because of the following reasons:   lot of favorites lot of answers for a question (last time I was looking for an answer in the question ) the question title is not always what I'm looking for   To make favorites more useful I suggest the following features to be added:   Allow to mark an answer as favorite Allow to tag questions with own tags (those tags are personal and can not be seen by others) Search function over favorites Allow to add a personal note to a question In another  regarding a difference between short on and short of, the  says the following:     ... But this is not always the case. A person can be short on/of money,   but lacking a specific amount, someone can only be €10 short or short   €10. This construction never uses a preposition.   but is that really true? I can see sentences like "I am short of 10 dollars" quite often. How to fix slow wireless on machines with Intel wireless cards? I have looked through all the previous questions but turning power management off for the Wi-Fi card didn't work. This problem seems to be with the Lenovo Thinkpads. I switched to Ubuntu 11.10 from Windows 7 3 days ago so I'm new to the operating system. What is the difference between the bind and live methods in jQuery? Invariance of a maximally entangled state under unitary operation $U \otimes U^\dagger$ I read about the new fancy progress bar which was added to apt 1.0 in  and how to enable it . However on running sudo apt-get update, I did not see the fancy progress bars. On reading the second link again, the solution explicitly requires you to use sudo apt update.  Hence my question is the difference between apt and apt-get. I thought they were one and the same. Exporting 2D vector graphic from ArcScene to Illustrator How can I export 2d vector graphic from ArcScene so I can edit it with Adobe Illustrator? I've tried changing the options when I export 2D scene as AI file or PDF file, but they always remain as a unique image that does not allow me to edit the lines and polygons. What is Snell's law's main formula? My book states it as $(\sin i)/(\sin r)=n$. However, University Physics has a different say.  It says, $n_{a} \sin a =n_{b} \sin b$. Which of the following is correct? What is the role of NS records at the apex of a DNS domain? $ORIGIN example.com. ; not necessary, using this to self-document  $TTL 3600 @        IN     SOA   ns1.example.com. admin.example.com. (                       1970010100 7200 1800 1209600 300)  @        IN     NS   ns1.example.com. @        IN     NS   ns2.example.com.  @        IN     A    198.51.100.1 ns1      IN     A    198.51.100.2 ns2      IN     A    198.51.100.3  sub1     IN     NS   ns1.example.edu.  sub2     IN     NS   ns1.sub2 ns1.sub2 IN     A    203.0.113.1 ; inline glue record   The role of a NS record beneath the apex of a domain is well-understood; they exist to delegate authority for a subdomain to another nameserver. Examples of this above would include the NS records for sub1 and sub2. These allow the nameserver to hand out referrals for portions of the domain that it does not consider itself authoritative for.  The purpose of the NS records at the apex of a domain, ns1 and ns2 in this case, seem to be less understood by the internet at large. My understanding (which may not be holistic) is as follows:   They are not used by caching DNS servers in order to determine the authoritative servers for the domain. This is handled by , which is defined at the registrar level. The registrar never uses this information to generate the glue records. They  used to delegate authority for the entire domain to other nameservers. Trying to do so with software such as ISC BIND will not result in the "expected" referral behavior at all, as the nameserver will continue to consider itself authoritative for the zone. They are not used by the nameserver to determine whether it should return authoritative responses (AA flag set) or not; that behavior is defined by whether the software is told to be a master or a slave for the zone. Most nameserver software will quite happily serve apex NS records that disagree with the information contained by the upstream glue records, which will in turn cause well-known DNS validation websites to generate warnings for the domain.   With this being the case, what are we left with? Why are we defining this information if it doesn't appear to be consumed by caching DNS servers on the internet at large? Why didn't the Hobbits get frostbite? I am young, just started my career, and looking to begin investing so I can make my money work for me. I'm still living like I did in college (occasional purchase on myself, but most of it goes into savings) and I would like to take the extra money and invest it.   What would you suggest are the best options for me to begin? I was considering getting a personal investor [a financial advisor] for perhaps a year or so, but I've heard that they really are not worth the money. I wanted to get the input of the great minds here. n-dimensional vector space isomorphic to the n-th product of a field as abelian groups Let $V$ be a finite dimensional vector space (of dimension n) over a field $F$. I need to show that $V$ is isomorphic to $F^n$ as abelian groups. However, I don't really understand what does "isomorphic as abelian groups" mean, my (poor) attempt to solve this was:  Let $f:V\to F^n$, $f((v_1,v_2,\ldots,v_n)):=v_1+\ldots+v_n$, clearly $f$ is a group homomorphism, but it is not biyective since, for example, in the case where $dim(V)=2$ and $F=\mathbb{R}$ we have $f((2,-2))=0=f((3,-3))$, I've also tried it by defining $f$ to be the product of a vector's entries but obviously it didn't work so I'm stuck!   I think this should be an easy problem but since I don't quite understand it, it's giving me problems. Thank you for your help. Invoking makeindex for nomencl I have spent many many hours failing to implement nomencl for my PhD thesis. The problem seems to be with invoking makeindex and creating the .nls file  I keep reading that I must invoke makeindex or write a Unix command:  makeindex filename.nlo  -s nomencl.ist -o filename.nls   But I don't know how to do this. I would be grateful for some instructions i.e. where do I type the command?    I am using TeXShop 2.43. Intersection of all $p$-Sylow subgroups is normal I'm playing on a Survival world with cheats on, "easy" difficulty, and at night in-game. I didn't have a sword or anything to make a sword with, and I was starving, so I switched to Creative to give myself a stack of food and a bed to set my spawn point. When I switched back to Survival, I couldn't destroy or place blocks. I'm on single player, and my Internet is fine, and I can destroy blocks still if I switch to creative. I've tried resetting the button one, and reloading the map, and it still doesn't work. I've even tried deleting everything I gave myself in Creative. This happened before on a different world and I ended up deleting it.  This only happens on this world. How do I fix it?  If I know I'm in the correct game mode, what else can cause this?  Are there different causes in multiplayer? Can I create a TIN from contours lines (shp) in QGIS? Tensor product of a sheaf of module and a residue field Let $S$ be a scheme over a finite field $\mathbb{F}_q$ and $\mathcal{L}$ an invertible sheaf on $S$.   In Pink's article (, see section 1.4 on page 13), he states that:  For any section $\ell\in \mathcal{L}(S)$ and any point $s\in S$ we let $\ell(s)\in \mathcal{L}\otimes_{\mathcal{O}_S}k(s)$ denote the value of $\ell$ over the residue field $k(s)$ of $s$.  My question is: what is the definition of $\mathcal{L}\otimes_{\mathcal{O}_S}k(s)$?  We know we can define the tensor product of two $A$-modules or of two $\mathcal{O}_X$-modules, but what is the tensor product of an $\mathcal{O}_X$-module and a field?